Add missing @since tags in the mutable package
This commit is contained in:
parent
d772e171d6
commit
d0049e1ac3
|
@ -227,6 +227,7 @@ public class MutableByte extends Number implements Comparable<MutableByte>, Muta
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public byte addAndGet(final byte operand) {
|
||||
this.value += operand;
|
||||
|
@ -240,6 +241,7 @@ public class MutableByte extends Number implements Comparable<MutableByte>, Muta
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public byte addAndGet(final Number operand) {
|
||||
this.value += operand.byteValue();
|
||||
|
@ -252,6 +254,7 @@ public class MutableByte extends Number implements Comparable<MutableByte>, Muta
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public byte getAndAdd(final byte operand) {
|
||||
byte last = value;
|
||||
|
@ -266,6 +269,7 @@ public class MutableByte extends Number implements Comparable<MutableByte>, Muta
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public byte getAndAdd(final Number operand) {
|
||||
byte last = value;
|
||||
|
|
|
@ -244,6 +244,7 @@ public class MutableDouble extends Number implements Comparable<MutableDouble>,
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public double addAndGet(final double operand) {
|
||||
this.value += operand;
|
||||
|
@ -257,6 +258,7 @@ public class MutableDouble extends Number implements Comparable<MutableDouble>,
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public double addAndGet(final Number operand) {
|
||||
this.value += operand.doubleValue();
|
||||
|
@ -269,6 +271,7 @@ public class MutableDouble extends Number implements Comparable<MutableDouble>,
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public double getAndAdd(final double operand) {
|
||||
double last = value;
|
||||
|
@ -283,6 +286,7 @@ public class MutableDouble extends Number implements Comparable<MutableDouble>,
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public double getAndAdd(final Number operand) {
|
||||
double last = value;
|
||||
|
|
|
@ -244,6 +244,7 @@ public class MutableFloat extends Number implements Comparable<MutableFloat>, Mu
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public float addAndGet(final float operand) {
|
||||
this.value += operand;
|
||||
|
@ -257,6 +258,7 @@ public class MutableFloat extends Number implements Comparable<MutableFloat>, Mu
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public float addAndGet(final Number operand) {
|
||||
this.value += operand.floatValue();
|
||||
|
@ -269,6 +271,7 @@ public class MutableFloat extends Number implements Comparable<MutableFloat>, Mu
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public float getAndAdd(final float operand) {
|
||||
float last = value;
|
||||
|
@ -283,6 +286,7 @@ public class MutableFloat extends Number implements Comparable<MutableFloat>, Mu
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public float getAndAdd(final Number operand) {
|
||||
float last = value;
|
||||
|
|
|
@ -227,6 +227,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public int addAndGet(final int operand) {
|
||||
this.value += operand;
|
||||
|
@ -240,6 +241,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public int addAndGet(final Number operand) {
|
||||
this.value += operand.intValue();
|
||||
|
@ -252,6 +254,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public int getAndAdd(final int operand) {
|
||||
int last = value;
|
||||
|
@ -266,6 +269,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public int getAndAdd(final Number operand) {
|
||||
int last = value;
|
||||
|
|
|
@ -227,6 +227,7 @@ public class MutableLong extends Number implements Comparable<MutableLong>, Muta
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public long addAndGet(final long operand) {
|
||||
this.value += operand;
|
||||
|
@ -240,6 +241,7 @@ public class MutableLong extends Number implements Comparable<MutableLong>, Muta
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public long addAndGet(final Number operand) {
|
||||
this.value += operand.longValue();
|
||||
|
@ -252,6 +254,7 @@ public class MutableLong extends Number implements Comparable<MutableLong>, Muta
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public long getAndAdd(final long operand) {
|
||||
long last = value;
|
||||
|
@ -266,6 +269,7 @@ public class MutableLong extends Number implements Comparable<MutableLong>, Muta
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public long getAndAdd(final Number operand) {
|
||||
long last = value;
|
||||
|
|
|
@ -227,6 +227,7 @@ public class MutableShort extends Number implements Comparable<MutableShort>, Mu
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public short addAndGet(final short operand) {
|
||||
this.value += operand;
|
||||
|
@ -240,6 +241,7 @@ public class MutableShort extends Number implements Comparable<MutableShort>, Mu
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance after adding the operand
|
||||
* @since 3.5
|
||||
*/
|
||||
public short addAndGet(final Number operand) {
|
||||
this.value += operand.shortValue();
|
||||
|
@ -252,6 +254,7 @@ public class MutableShort extends Number implements Comparable<MutableShort>, Mu
|
|||
*
|
||||
* @param operand the quantity to add, not null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public short getAndAdd(final short operand) {
|
||||
short last = value;
|
||||
|
@ -266,6 +269,7 @@ public class MutableShort extends Number implements Comparable<MutableShort>, Mu
|
|||
* @param operand the quantity to add, not null
|
||||
* @throws NullPointerException if {@code operand} is null
|
||||
* @return the value associated with this instance immediately before the operand was added
|
||||
* @since 3.5
|
||||
*/
|
||||
public short getAndAdd(final Number operand) {
|
||||
short last = value;
|
||||
|
|
Loading…
Reference in New Issue