public class POPMutableShort extends java.lang.Object implements IPOPBase
POPParameter direction use in
methods| Constructor and Description |
|---|
POPMutableShort()
Default constructor
|
POPMutableShort(short value)
Constructor with given value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
deserialize(POPBuffer buffer)
Deserialize the POPShort from the buffer
|
short |
getValue()
Get the current value of this object
|
boolean |
serialize(POPBuffer buffer)
Serialize the POPShort into the buffer
|
void |
setValue(int value)
Set the short value of this object, from an int
|
void |
setValue(short value)
Set the short value of this object
|
java.lang.String |
toString() |
public POPMutableShort()
public POPMutableShort(short value)
value - short value to be stored in this objectpublic void setValue(short value)
value - new short valuepublic void setValue(int value)
value - new short value from intpublic short 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