jpaul.Misc
Class BoolMCell

java.lang.Object
  extended by jpaul.Misc.BoolMCell
All Implemented Interfaces:
java.lang.Comparable<BoolMCell>

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

BoolMCell is a mutable cell with boolean content.

Version:
$Id: BoolMCell.java,v 1.5 2006/03/14 02:29:31 salcianu Exp $
Author:
Alexandru Salcianu - salcianu@alum.mit.edu
See Also:
MCell

Field Summary
 boolean value
          The current boolean content of this cell.
 
Constructor Summary
BoolMCell(boolean initValue)
          Creates a BoolMCell with initial value initValue.
 
Method Summary
 int compareTo(BoolMCell bmc2)
           
 java.lang.String toString()
          Returns a string description containing both the value and the address of this BoolMCell: "BoolMCell{" + value + "}@" + System.identityHashCode(this).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public boolean value
The current boolean content of this cell.

Constructor Detail

BoolMCell

public BoolMCell(boolean initValue)
Creates a BoolMCell with initial value initValue.

Method Detail

compareTo

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

toString

public java.lang.String toString()
Returns a string description containing both the value and the address of this BoolMCell: "BoolMCell{" + value + "}@" + System.identityHashCode(this).

Overrides:
toString in class java.lang.Object


Copyright 2005 Alexandru Salcianu - salcianu@alum.mit.edu