org.simantics.databoard.type
Class FloatType

java.lang.Object
  extended by org.simantics.databoard.type.Datatype
      extended by org.simantics.databoard.type.NumberType
          extended by org.simantics.databoard.type.FloatType
All Implemented Interfaces:
java.lang.Cloneable

public class FloatType
extends NumberType


Nested Class Summary
 
Nested classes/interfaces inherited from class org.simantics.databoard.type.Datatype
Datatype.Visitor<T>, Datatype.Visitor1
 
Field Summary
 
Fields inherited from class org.simantics.databoard.type.NumberType
KEY_RANGE, KEY_UNIT
 
Fields inherited from class org.simantics.databoard.type.Datatype
metadata
 
Constructor Summary
FloatType()
           
FloatType(java.lang.String unit)
           
FloatType(java.lang.String unit, Range range)
           
FloatType(java.lang.String unit, java.lang.String range)
           
 
Method Summary
<T> T
accept(Datatype.Visitor<T> v)
           
 void accept(Datatype.Visitor1 v, java.lang.Object obj)
           
 int hashCode()
           
 float maxValue()
           
 float minValue()
           
 
Methods inherited from class org.simantics.databoard.type.NumberType
getComponentCount, getComponentType, getComponentType, getRange, getRangeStr, getUnit, setRange, setRange, setUnit
 
Methods inherited from class org.simantics.databoard.type.Datatype
equals, metadataHashCode, toSingleLineString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FloatType

public FloatType()

FloatType

public FloatType(java.lang.String unit)

FloatType

public FloatType(java.lang.String unit,
                 Range range)

FloatType

public FloatType(java.lang.String unit,
                 java.lang.String range)
Method Detail

minValue

public float minValue()

maxValue

public float maxValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Datatype

accept

public void accept(Datatype.Visitor1 v,
                   java.lang.Object obj)
Specified by:
accept in class Datatype

accept

public <T> T accept(Datatype.Visitor<T> v)
Specified by:
accept in class Datatype