org.simantics.databoard.type
Class DoubleType

java.lang.Object
  extended by org.simantics.databoard.type.Datatype
      extended by org.simantics.databoard.type.NumberType
          extended by org.simantics.databoard.type.DoubleType

public class DoubleType
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
unit
 
Constructor Summary
DoubleType()
           
DoubleType(java.lang.String unit)
           
DoubleType(java.lang.String unit, Range range)
           
DoubleType(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()
           
 double maxValue()
           
 double minValue()
           
 
Methods inherited from class org.simantics.databoard.type.NumberType
count, getComponentType, getComponentType, 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
 

Constructor Detail

DoubleType

public DoubleType()

DoubleType

public DoubleType(java.lang.String unit)

DoubleType

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

DoubleType

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

minValue

public double minValue()

maxValue

public double 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