# | Line 35 | Line 35 | import java.io.ObjectOutputStream; | |
---|---|---|
35 | * <p><em>jsr166e note: This class is targeted to be placed in | |
36 | * java.util.concurrent.atomic<em> | |
37 | * | |
38 | + | * @since 1.8 |
39 | * @author Doug Lea | |
40 | */ | |
41 | public class LongAdder extends Striped64 implements Serializable { | |
# | Line 145 | Line 146 | public class LongAdder extends Striped64 | |
146 | ||
147 | /** | |
148 | * Returns the String representation of the {@link #sum}. | |
149 | < | * @return the String representation of the {@link #sum}. |
149 | > | * @return the String representation of the {@link #sum} |
150 | */ | |
151 | public String toString() { | |
152 | return Long.toString(sum()); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |