|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.ino.sxs.IntRef
public class IntRef
Auxiliary class to represent references to integers. It is used for integers as output parameters.
Constructor Summary | |
---|---|
IntRef()
Default constructor initializes the IntRef with 0. |
|
IntRef(int initVal)
Constructor to initialize the IntRef with the given value. |
Method Summary | |
---|---|
int |
getVal()
Gets the current value of the IntRef . |
void |
setVal(int newVal)
Sets the value of the IntRef to a given value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntRef()
IntRef
with 0.
public IntRef(int initVal)
IntRef
with the given value.
initVal
- the initial valueMethod Detail |
---|
public int getVal()
IntRef
.
public void setVal(int newVal)
IntRef
to a given value.
newVal
- the new value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |