org.simantics.databoard.primitives
Class MutableBoolean
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
value
public boolean value
MutableBoolean
public MutableBoolean()
MutableBoolean
public MutableBoolean(boolean value)
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