helix.graph.model.impl
Class RInteger
java.lang.Object
helix.graph.model.impl.AbstractRegistryValue
helix.graph.model.impl.ImmutableRegistryValue
helix.graph.model.impl.RInteger
- All Implemented Interfaces:
- RegistryValue
public class RInteger
- extends ImmutableRegistryValue
Method Summary |
boolean |
toBoolean()
|
float |
toFloat()
|
int |
toInt()
|
String |
toString()
Get a String representation of this instance value
note: this representation may not be suitable as the constructor
argument, use serialize() instead. |
RInteger
public RInteger(int i)
RInteger
public RInteger(Integer i)
RInteger
public RInteger(String s)
throws IllegalValueException
- Throws:
IllegalValueException
toString
public String toString()
- Description copied from interface:
RegistryValue
- Get a String representation of this instance value
note: this representation may not be suitable as the constructor
argument, use serialize() instead.
- Specified by:
toString
in interface RegistryValue
- Overrides:
toString
in class Object
- Returns:
- String representation of this instance value
toInt
public int toInt()
- Specified by:
toInt
in interface RegistryValue
- Overrides:
toInt
in class AbstractRegistryValue
- Returns:
- int representation of this instance value
toFloat
public float toFloat()
- Specified by:
toFloat
in interface RegistryValue
- Overrides:
toFloat
in class AbstractRegistryValue
- Returns:
- float representation of this instance value
toBoolean
public boolean toBoolean()
- Specified by:
toBoolean
in interface RegistryValue
- Overrides:
toBoolean
in class AbstractRegistryValue
- Returns:
- boolean representation of this instance value