railo.commons.lang.types
Class RefIntegerImpl

java.lang.Object
  extended by railo.commons.lang.types.RefIntegerImpl
All Implemented Interfaces:
RefInteger
Direct Known Subclasses:
RefIntegerSync

public class RefIntegerImpl
extends Object
implements RefInteger

Integer Type that can be modified


Constructor Summary
RefIntegerImpl()
           
RefIntegerImpl(int value)
           
 
Method Summary
 void minus(int value)
          operation minus
 void plus(int value)
          operation plus
 void setValue(int value)
           
 Double toDouble()
           
 double toDoubleValue()
           
 int toInt()
           
 Integer toInteger()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RefIntegerImpl

public RefIntegerImpl(int value)
Parameters:
value -

RefIntegerImpl

public RefIntegerImpl()
Method Detail

setValue

public void setValue(int value)
Specified by:
setValue in interface RefInteger
Parameters:
value -

plus

public void plus(int value)
operation plus

Specified by:
plus in interface RefInteger
Parameters:
value -

minus

public void minus(int value)
operation minus

Specified by:
minus in interface RefInteger
Parameters:
value -

toInteger

public Integer toInteger()
Specified by:
toInteger in interface RefInteger
Returns:
returns value as integer

toDouble

public Double toDouble()
Specified by:
toDouble in interface RefInteger
Returns:
returns value as integer

toDoubleValue

public double toDoubleValue()
Specified by:
toDoubleValue in interface RefInteger
Returns:
returns value as double
See Also:
RefInteger.toDoubleValue()

toInt

public int toInt()
Specified by:
toInt in interface RefInteger
Returns:
returns value as int
See Also:
RefInteger.toInt()

toString

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


Copyright © 2012 Railo