org.simantics.databoard.type
Class BooleanType

java.lang.Object
  extended by org.simantics.databoard.type.DataType
      extended by org.simantics.databoard.type.BooleanType

public class BooleanType
extends DataType


Nested Class Summary
 
Nested classes/interfaces inherited from class org.simantics.databoard.type.DataType
DataType.Visitor<T>, DataType.Visitor1
 
Field Summary
static BooleanType INSTANCE
           
 
Constructor Summary
BooleanType()
           
 
Method Summary
<T> T
accept(DataType.Visitor<T> v)
           
 void accept(DataType.Visitor1 v, java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
          Deep equals-compare
 int hashCode()
           
 
Methods inherited from class org.simantics.databoard.type.DataType
toSingleLineString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final BooleanType INSTANCE
Constructor Detail

BooleanType

public BooleanType()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Description copied from class: DataType
Deep equals-compare

Overrides:
equals in class DataType
Parameters:
obj - object to compare with
Returns:
true if the object is equal (incl. structurally) with this object

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