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