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

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
static FloatType INSTANCE
           
 
Fields inherited from class org.simantics.databoard.type.NumberType
unit
 
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
getRange, getRangeStr, getUnit, setRange, setRange, setUnit
 
Methods inherited from class org.simantics.databoard.type.DataType
equals, toSingleLineString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final FloatType INSTANCE
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 java.lang.Object

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