railo.commons.lang.types
Class RefLongImpl

java.lang.Object
  extended by railo.commons.lang.types.RefLongImpl
All Implemented Interfaces:
RefLong

public final class RefLongImpl
extends Object
implements RefLong

Integer Type that can be modified


Constructor Summary
RefLongImpl()
          Constructor of the class
RefLongImpl(long value)
          Constructor of the class
 
Method Summary
 void minus(long value)
          operation minus
 void plus(long value)
          operation plus
 void setValue(long value)
           
 Long toLong()
           
 long toLongValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RefLongImpl

public RefLongImpl(long value)
Constructor of the class

Parameters:
value -

RefLongImpl

public RefLongImpl()
Constructor of the class

Method Detail

setValue

public void setValue(long value)
Specified by:
setValue in interface RefLong
See Also:
RefLong.setValue(long)

plus

public void plus(long value)
Description copied from interface: RefLong
operation plus

Specified by:
plus in interface RefLong
See Also:
RefLong.plus(long)

minus

public void minus(long value)
Description copied from interface: RefLong
operation minus

Specified by:
minus in interface RefLong
See Also:
RefLong.minus(long)

toLong

public Long toLong()
Specified by:
toLong in interface RefLong
Returns:
returns value as Double Object
See Also:
RefLong.toLong()

toLongValue

public long toLongValue()
Specified by:
toLongValue in interface RefLong
Returns:
returns value as double
See Also:
RefLong.toLongValue()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2012 Railo