diff --git a/src/main/java/org/apache/commons/lang3/mutable/MutableByte.java b/src/main/java/org/apache/commons/lang3/mutable/MutableByte.java index b6674d85b..efe6dd1f0 100644 --- a/src/main/java/org/apache/commons/lang3/mutable/MutableByte.java +++ b/src/main/java/org/apache/commons/lang3/mutable/MutableByte.java @@ -124,6 +124,7 @@ public void increment() { * immediately prior to the increment operation. This method is not thread safe. * * @return the value associated with the instance before it was incremented + * @since 3.5 */ public byte getAndIncrement() { byte last = value; @@ -136,6 +137,7 @@ public byte getAndIncrement() { * immediately after the increment operation. This method is not thread safe. * * @return the value associated with the instance after it is incremented + * @since 3.5 */ public byte incrementAndGet() { value++; @@ -156,6 +158,7 @@ public void decrement() { * immediately prior to the decrement operation. This method is not thread safe. * * @return the value associated with the instance before it was decremented + * @since 3.5 */ public byte getAndDecrement() { byte last = value; @@ -168,6 +171,7 @@ public byte getAndDecrement() { * immediately after the decrement operation. This method is not thread safe. * * @return the value associated with the instance after it is decremented + * @since 3.5 */ public byte decrementAndGet() { value--; diff --git a/src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java b/src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java index 633b8fb66..aa089fe70 100644 --- a/src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java +++ b/src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java @@ -141,6 +141,7 @@ public void increment() { * immediately prior to the increment operation. This method is not thread safe. * * @return the value associated with the instance before it was incremented + * @since 3.5 */ public double getAndIncrement() { double last = value; @@ -153,6 +154,7 @@ public double getAndIncrement() { * immediately after the increment operation. This method is not thread safe. * * @return the value associated with the instance after it is incremented + * @since 3.5 */ public double incrementAndGet() { value++; @@ -173,6 +175,7 @@ public void decrement() { * immediately prior to the decrement operation. This method is not thread safe. * * @return the value associated with the instance before it was decremented + * @since 3.5 */ public double getAndDecrement() { double last = value; @@ -185,6 +188,7 @@ public double getAndDecrement() { * immediately after the decrement operation. This method is not thread safe. * * @return the value associated with the instance after it is decremented + * @since 3.5 */ public double decrementAndGet() { value--; diff --git a/src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java b/src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java index 9fc295561..9893c031a 100644 --- a/src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java +++ b/src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java @@ -141,6 +141,7 @@ public void increment() { * immediately prior to the increment operation. This method is not thread safe. * * @return the value associated with the instance before it was incremented + * @since 3.5 */ public float getAndIncrement() { float last = value; @@ -153,6 +154,7 @@ public float getAndIncrement() { * immediately after the increment operation. This method is not thread safe. * * @return the value associated with the instance after it is incremented + * @since 3.5 */ public float incrementAndGet() { value++; @@ -173,6 +175,7 @@ public void decrement() { * immediately prior to the decrement operation. This method is not thread safe. * * @return the value associated with the instance before it was decremented + * @since 3.5 */ public float getAndDecrement() { float last = value; @@ -185,6 +188,7 @@ public float getAndDecrement() { * immediately after the decrement operation. This method is not thread safe. * * @return the value associated with the instance after it is decremented + * @since 3.5 */ public float decrementAndGet() { value--; diff --git a/src/main/java/org/apache/commons/lang3/mutable/MutableInt.java b/src/main/java/org/apache/commons/lang3/mutable/MutableInt.java index dd490cd93..25bc5b98f 100644 --- a/src/main/java/org/apache/commons/lang3/mutable/MutableInt.java +++ b/src/main/java/org/apache/commons/lang3/mutable/MutableInt.java @@ -124,6 +124,7 @@ public void increment() { * immediately prior to the increment operation. This method is not thread safe. * * @return the value associated with the instance before it was incremented + * @since 3.5 */ public int getAndIncrement() { int last = value; @@ -136,6 +137,7 @@ public int getAndIncrement() { * immediately after the increment operation. This method is not thread safe. * * @return the value associated with the instance after it is incremented + * @since 3.5 */ public int incrementAndGet() { value++; @@ -156,6 +158,7 @@ public void decrement() { * immediately prior to the decrement operation. This method is not thread safe. * * @return the value associated with the instance before it was decremented + * @since 3.5 */ public int getAndDecrement() { int last = value; @@ -168,6 +171,7 @@ public int getAndDecrement() { * immediately after the decrement operation. This method is not thread safe. * * @return the value associated with the instance after it is decremented + * @since 3.5 */ public int decrementAndGet() { value--; diff --git a/src/main/java/org/apache/commons/lang3/mutable/MutableLong.java b/src/main/java/org/apache/commons/lang3/mutable/MutableLong.java index 01bbef62c..51d14c790 100644 --- a/src/main/java/org/apache/commons/lang3/mutable/MutableLong.java +++ b/src/main/java/org/apache/commons/lang3/mutable/MutableLong.java @@ -124,6 +124,7 @@ public void increment() { * immediately prior to the increment operation. This method is not thread safe. * * @return the value associated with the instance before it was incremented + * @since 3.5 */ public long getAndIncrement() { long last = value; @@ -136,6 +137,7 @@ public long getAndIncrement() { * immediately after the increment operation. This method is not thread safe. * * @return the value associated with the instance after it is incremented + * @since 3.5 */ public long incrementAndGet() { value++; @@ -156,6 +158,7 @@ public void decrement() { * immediately prior to the decrement operation. This method is not thread safe. * * @return the value associated with the instance before it was decremented + * @since 3.5 */ public long getAndDecrement() { long last = value; @@ -168,6 +171,7 @@ public long getAndDecrement() { * immediately after the decrement operation. This method is not thread safe. * * @return the value associated with the instance after it is decremented + * @since 3.5 */ public long decrementAndGet() { value--; diff --git a/src/main/java/org/apache/commons/lang3/mutable/MutableShort.java b/src/main/java/org/apache/commons/lang3/mutable/MutableShort.java index 2125f444a..25cea60b6 100644 --- a/src/main/java/org/apache/commons/lang3/mutable/MutableShort.java +++ b/src/main/java/org/apache/commons/lang3/mutable/MutableShort.java @@ -124,6 +124,7 @@ public void increment() { * immediately prior to the increment operation. This method is not thread safe. * * @return the value associated with the instance before it was incremented + * @since 3.5 */ public short getAndIncrement() { short last = value; @@ -136,6 +137,7 @@ public short getAndIncrement() { * immediately after the increment operation. This method is not thread safe. * * @return the value associated with the instance after it is incremented + * @since 3.5 */ public short incrementAndGet() { value++; @@ -156,6 +158,7 @@ public void decrement() { * immediately prior to the decrement operation. This method is not thread safe. * * @return the value associated with the instance before it was decremented + * @since 3.5 */ public short getAndDecrement() { short last = value; @@ -168,6 +171,7 @@ public short getAndDecrement() { * immediately after the decrement operation. This method is not thread safe. * * @return the value associated with the instance after it is decremented + * @since 3.5 */ public short decrementAndGet() { value--;