public class POPMutableInt extends java.lang.Object implements IPOPBase
POPParameter direction use in
methods| Constructor and Description |
|---|
POPMutableInt()
Default constructor
|
POPMutableInt(int value)
Constructor with given value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
deserialize(POPBuffer buffer)
Deserialize the POPInt from the buffer
|
int |
getValue()
Get the current value of this object
|
boolean |
serialize(POPBuffer buffer)
Serialize the POPInt into the buffer
|
void |
setValue(int value)
Set the int value of this object
|
java.lang.String |
toString() |
public POPMutableInt()
public POPMutableInt(int value)
value - int value to be stored in this objectpublic void setValue(int value)
value - new int valuepublic int getValue()
public boolean serialize(POPBuffer buffer)
public boolean deserialize(POPBuffer buffer)
deserialize in interface IPOPBasebuffer - The buffer to deserialize frompublic java.lang.String toString()
toString in class java.lang.Object