|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpaul.Misc.LongMCell
public class LongMCell
LongMCell
is a mutable cell with long
content.
Field Summary | |
---|---|
long |
value
The current long content of this cell. |
Constructor Summary | |
---|---|
LongMCell()
Creates a LongMCell . |
|
LongMCell(long initValue)
Creates a LongMCell with initial content
initValue . |
Method Summary | |
---|---|
int |
compareTo(LongMCell lmc2)
|
java.lang.String |
toString()
Returns a string description containing both the value and the address of this LongMCell :
"LongMCell{" + value + "}@" +
System.identityHashCode(this) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public long value
Constructor Detail |
---|
public LongMCell()
LongMCell
.
public LongMCell(long initValue)
LongMCell
with initial content
initValue
.
Method Detail |
---|
public int compareTo(LongMCell lmc2)
compareTo
in interface java.lang.Comparable<LongMCell>
public java.lang.String toString()
this
LongMCell
:
"LongMCell{" + value + "}@" +
System.identityHashCode(this)
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |