org.simantics.databoard.primitives
Class MutableBoolean

java.lang.Object
  extended by org.simantics.databoard.primitives.MutableBoolean
All Implemented Interfaces:
java.lang.Comparable<MutableBoolean>

public class MutableBoolean
extends java.lang.Object
implements java.lang.Comparable<MutableBoolean>


Field Summary
 boolean value
           
 
Constructor Summary
MutableBoolean()
           
MutableBoolean(boolean value)
           
 
Method Summary
 boolean booleanValue()
           
 int compareTo(MutableBoolean b)
           
 boolean equals(java.lang.Object obj)
           
 boolean getValue()
           
 int hashCode()
           
 void setValue(boolean newValue)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public boolean value
Constructor Detail

MutableBoolean

public MutableBoolean()

MutableBoolean

public MutableBoolean(boolean value)
Method Detail

getValue

public boolean getValue()

setValue

public void setValue(boolean newValue)

booleanValue

public boolean booleanValue()

compareTo

public int compareTo(MutableBoolean b)
Specified by:
compareTo in interface java.lang.Comparable<MutableBoolean>

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object