me.lemire.integercompression
Class IntWrapper

java.lang.Object
  extended by java.lang.Number
      extended by me.lemire.integercompression.IntWrapper
All Implemented Interfaces:
Serializable

public final class IntWrapper
extends Number

Author:
dwu
See Also:
Serialized Form

Constructor Summary
IntWrapper()
           
IntWrapper(int v)
           
 
Method Summary
 void add(int v)
           
 double doubleValue()
           
 float floatValue()
           
 int get()
           
 void increment()
           
 int intValue()
           
 long longValue()
           
 void set(int value)
           
 String toString()
           
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntWrapper

public IntWrapper()

IntWrapper

public IntWrapper(int v)
Method Detail

add

public void add(int v)

doubleValue

public double doubleValue()
Specified by:
doubleValue in class Number

floatValue

public float floatValue()
Specified by:
floatValue in class Number

get

public int get()

increment

public void increment()

intValue

public int intValue()
Specified by:
intValue in class Number

longValue

public long longValue()
Specified by:
longValue in class Number

set

public void set(int value)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.