railo.commons.lang.types
Class RefIntegerImpl
java.lang.Object
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
RefIntegerImpl
public RefIntegerImpl(int value)
- Parameters:
value
-
RefIntegerImpl
public RefIntegerImpl()
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