aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/commons/lang3/mutable/MutableInt.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/commons/lang3/mutable/MutableInt.java')
-rw-r--r--src/org/apache/commons/lang3/mutable/MutableInt.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/org/apache/commons/lang3/mutable/MutableInt.java b/src/org/apache/commons/lang3/mutable/MutableInt.java
index 03c0092..301ea39 100644
--- a/src/org/apache/commons/lang3/mutable/MutableInt.java
+++ b/src/org/apache/commons/lang3/mutable/MutableInt.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -19,8 +19,8 @@ package org.apache.commons.lang3.mutable;
/**
* A mutable <code>int</code> wrapper.
* <p>
- * Note that as MutableInt does not extend Integer, it is not treated by String.format as an Integer parameter.
- *
+ * Note that as MutableInt does not extend Integer, it is not treated by String.format as an Integer parameter.
+ *
* @see Integer
* @since 2.1
* @version $Id: MutableInt.java 1160571 2011-08-23 07:36:08Z bayard $
@@ -29,7 +29,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
/**
* Required for serialization support.
- *
+ *
* @see java.io.Serializable
*/
private static final long serialVersionUID = 512176391864L;
@@ -46,7 +46,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
/**
* Constructs a new MutableInt with the specified value.
- *
+ *
* @param value the initial value to store
*/
public MutableInt(int value) {
@@ -56,7 +56,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
/**
* Constructs a new MutableInt with the specified value.
- *
+ *
* @param value the initial value to store, not null
* @throws NullPointerException if the object is null
*/
@@ -67,7 +67,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
/**
* Constructs a new MutableInt parsing the given string.
- *
+ *
* @param value the string to parse, not null
* @throws NumberFormatException if the string cannot be parsed into an int
* @since 2.5
@@ -80,7 +80,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
//-----------------------------------------------------------------------
/**
* Gets the value as a Integer instance.
- *
+ *
* @return the value as a Integer, never null
*/
public Integer getValue() {
@@ -89,7 +89,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
/**
* Sets the value.
- *
+ *
* @param value the value to set
*/
public void setValue(int value) {
@@ -98,7 +98,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
/**
* Sets the value from any Number instance.
- *
+ *
* @param value the value to set, not null
* @throws NullPointerException if the object is null
*/
@@ -128,7 +128,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
//-----------------------------------------------------------------------
/**
* Adds a value to the value of this instance.
- *
+ *
* @param operand the value to add, not null
* @since Commons Lang 2.2
*/
@@ -138,7 +138,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
/**
* Adds a value to the value of this instance.
- *
+ *
* @param operand the value to add, not null
* @throws NullPointerException if the object is null
* @since Commons Lang 2.2
@@ -149,7 +149,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
/**
* Subtracts a value from the value of this instance.
- *
+ *
* @param operand the value to subtract, not null
* @since Commons Lang 2.2
*/
@@ -159,7 +159,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
/**
* Subtracts a value from the value of this instance.
- *
+ *
* @param operand the value to subtract, not null
* @throws NullPointerException if the object is null
* @since Commons Lang 2.2
@@ -225,7 +225,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
* Compares this object to the specified object. The result is <code>true</code> if and only if the argument is
* not <code>null</code> and is a <code>MutableInt</code> object that contains the same <code>int</code> value
* as this object.
- *
+ *
* @param obj the object to compare with, null returns false
* @return <code>true</code> if the objects are the same; <code>false</code> otherwise.
*/
@@ -239,7 +239,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
/**
* Returns a suitable hash code for this mutable.
- *
+ *
* @return a suitable hash code
*/
@Override
@@ -250,7 +250,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
//-----------------------------------------------------------------------
/**
* Compares this mutable to another in ascending order.
- *
+ *
* @param other the other mutable to compare to, not null
* @return negative if this is less, zero if equal, positive if greater
*/
@@ -262,7 +262,7 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
//-----------------------------------------------------------------------
/**
* Returns the String value of this mutable.
- *
+ *
* @return the mutable value as a string
*/
@Override