< prev index next >

src/java.base/share/classes/java/util/concurrent/atomic/DoubleAccumulator.java

Print this page

        

*** 82,91 **** --- 82,92 ---- * @author Doug Lea */ public class DoubleAccumulator extends Striped64 implements Serializable { private static final long serialVersionUID = 7249069246863182397L; + @SuppressWarnings("serial") // Not statically typed as Serializable private final DoubleBinaryOperator function; private final long identity; // use long representation /** * Creates a new instance using the given accumulator function
*** 243,252 **** --- 244,254 ---- /** * The function used for updates. * @serial */ + @SuppressWarnings("serial") // Not statically typed as Serializable private final DoubleBinaryOperator function; /** * The identity value, represented as a long, as converted by * {@link Double#doubleToRawLongBits}. The original identity
< prev index next >