/** * Equivalent to {@link #sum}. * * @return the sum */ public long longValue() { return sum(); }
/** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */ public float floatValue() { return (float) sum(); }
/** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */ public double doubleValue() { return (double) sum(); }
/** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */ public int intValue() { return (int) sum(); }
/** * Returns the String representation of the {@link #sum}. * * @return the String representation of the {@link #sum} */ public String toString() { return Long.toString(sum()); }
/** * Equivalent to {@link #sum}. * * @return the sum */ public long longValue() { return sum(); }
/** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */ public int intValue() { return (int) sum(); }
/** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */ public float floatValue() { return (float) sum(); }
/** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */ public double doubleValue() { return (double) sum(); }
private void writeObject(ObjectOutputStream s) throws IOException { s.defaultWriteObject(); s.writeLong(sum()); }
/** * Equivalent to {@link #sum}. * * @return the sum */ public long longValue() { return sum(); }
/** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */ public int intValue() { return (int) sum(); }
/** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */ public float floatValue() { return (float) sum(); }
/** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */ public double doubleValue() { return (double) sum(); }
/** * Returns the String representation of the {@link #sum}. * * @return the String representation of the {@link #sum} */ public String toString() { return Long.toString(sum()); }
/** * Returns the String representation of the {@link #sum}. * * @return the String representation of the {@link #sum} */ public String toString() { return Long.toString(sum()); }
private void writeObject(ObjectOutputStream s) throws IOException { s.defaultWriteObject(); s.writeLong(sum()); }
private void writeObject(ObjectOutputStream s) throws IOException { s.defaultWriteObject(); s.writeLong(sum()); }
/** * Equivalent to {@link #sum}. * * @return the sum */ public long longValue() { return sum(); }
/** * Returns the String representation of the {@link #sum}. * * @return the String representation of the {@link #sum} */ public String toString() { return Long.toString(sum()); }