helix.graph.model.impl
Class RFloat

java.lang.Object
  extended by helix.graph.model.impl.AbstractRegistryValue
      extended by helix.graph.model.impl.ImmutableRegistryValue
          extended by helix.graph.model.impl.RFloat
All Implemented Interfaces:
RegistryValue

public class RFloat
extends ImmutableRegistryValue


Constructor Summary
RFloat(float f)
           
RFloat(Float f)
           
RFloat(String s)
           
 
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.
 
Methods inherited from class helix.graph.model.impl.ImmutableRegistryValue
equals, hashCode, klone
 
Methods inherited from class helix.graph.model.impl.AbstractRegistryValue
serialize
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RFloat

public RFloat(float f)

RFloat

public RFloat(Float f)

RFloat

public RFloat(String s)
       throws IllegalValueException
Throws:
IllegalValueException
Method Detail

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