|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.database.geometry.GenMath.MutableLong
public static class GenMath.MutableLong
Class to define a Long-like object that can be modified.
Constructor Summary | |
---|---|
GenMath.MutableLong(long value)
Constructor creates a MutableLong object with an initial value. |
Method Summary | |
---|---|
void |
increment()
Method to increment this MutableLong by 1. |
long |
longValue()
Method to return the value of this MutableLong. |
void |
setValue(long value)
Method to change the value of this MutableLong. |
java.lang.String |
toString()
Returns a printable version of this MutableLong. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GenMath.MutableLong(long value)
value
- the initial value.Method Detail |
---|
public void setValue(long value)
value
- the new value.public void increment()
public long longValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |