com.sun.electric.database.geometry
Class GenMath.MutableBoolean

java.lang.Object
  extended by com.sun.electric.database.geometry.GenMath.MutableBoolean
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
GenMath

public static class GenMath.MutableBoolean
extends java.lang.Object
implements java.io.Serializable

Class to define a Boolean object that can be modified.

See Also:
Serialized Form

Constructor Summary
GenMath.MutableBoolean(boolean value)
          Constructor creates a MutableBoolean object with an initial value.
 
Method Summary
 boolean booleanValue()
          Method to return the value of this MutableBoolean.
 void setValue(boolean value)
          Method to change the value of this MutableBoolean.
 java.lang.String toString()
          Returns a printable version of this MutableBoolean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenMath.MutableBoolean

public GenMath.MutableBoolean(boolean value)
Constructor creates a MutableBoolean object with an initial value.

Parameters:
value - the initial value.
Method Detail

setValue

public void setValue(boolean value)
Method to change the value of this MutableBoolean.

Parameters:
value - the new value.

booleanValue

public boolean booleanValue()
Method to return the value of this MutableBoolean.

Returns:
the current value of this MutableBoolean.

toString

public java.lang.String toString()
Returns a printable version of this MutableBoolean.

Overrides:
toString in class java.lang.Object
Returns:
a printable version of this MutableBoolean.