com.liferay.portal.kernel.util
Class IntegerWrapper

java.lang.Object
  extended by com.liferay.portal.kernel.util.PrimitiveWrapper
      extended by com.liferay.portal.kernel.util.IntegerWrapper
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IntegerWrapper>

public class IntegerWrapper
extends PrimitiveWrapper
implements java.lang.Comparable<IntegerWrapper>

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
static java.lang.Class<?> TYPE
           
 
Constructor Summary
IntegerWrapper()
           
IntegerWrapper(int value)
           
 
Method Summary
 int compareTo(IntegerWrapper integerWrapper)
           
 int decrement()
           
 int getValue()
           
 int increment()
           
 void setValue(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final java.lang.Class<?> TYPE
Constructor Detail

IntegerWrapper

public IntegerWrapper()

IntegerWrapper

public IntegerWrapper(int value)
Method Detail

compareTo

public int compareTo(IntegerWrapper integerWrapper)
Specified by:
compareTo in interface java.lang.Comparable<IntegerWrapper>

getValue

public int getValue()

setValue

public void setValue(int value)

increment

public int increment()

decrement

public int decrement()