Added Javadoc Hint

This commit is contained in:
Ali Dehghani 2020-07-16 10:35:04 +04:30
parent 03c92a6023
commit c597e8dc6a
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,8 @@ import java.io.Serializable;
import java.util.concurrent.atomic.AtomicLong; import java.util.concurrent.atomic.AtomicLong;
/** /**
* Copy-pasted from {@link java.util.concurrent.atomic.LongAdder}
*
* One or more variables that together maintain an initially zero * One or more variables that together maintain an initially zero
* {@code long} sum. When updates (method {@link #add}) are contended * {@code long} sum. When updates (method {@link #add}) are contended
* across threads, the set of variables may grow dynamically to reduce * across threads, the set of variables may grow dynamically to reduce

View File

@ -8,6 +8,8 @@ import java.util.function.DoubleBinaryOperator;
import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.ThreadLocalRandom;
/** /**
* Copy-pasted from {@code java.util.concurrent.atomic.Striped64} class.
*
* A package-local class holding common representation and mechanics * A package-local class holding common representation and mechanics
* for classes supporting dynamic striping on 64bit values. The class * for classes supporting dynamic striping on 64bit values. The class
* extends Number so that concrete subclasses must publicly do so. * extends Number so that concrete subclasses must publicly do so.