com.eruces.teagent.PList
The PList class is a container maintaining a list of integer objects.
Inheritance
- Inherits com.eruces.teagent.ISerialize
Public Member Functions
| Member | Description |
|---|---|
PList() | The PList constructor is the default constructor for the PList class. |
TreeSet getAllElements() | The getAllElements method gets all the elements in a PList. |
void add(long nVal) | The add method adds a PAny object to a PList. |
void remove(long nVal) | The remove method removes a PAny object from a PList. |
void clear() | The clear method purges all PAny objects from a PList object. |
boolean isEmpty() | The isEmpty method checks whether a PList is empty. |
int size() | The size method checks the size of a PList. |
String toString() | The toString method converts a PList object to a string. |
Member Function Documentation
PList()
The PList constructor is the default constructor for the PList class.
TreeSet getAllElements()
The getAllElements method gets all the elements in a PList.
Returns: Returns a treeset.
void add(long nVal)
The add method adds a PAny object to a PList.
Parameters
| Parameter | Description |
|---|---|
nVal | _obj object |
void remove(long nVal)
The remove method removes a PAny object from a PList.
Parameters
| Parameter | Description |
|---|---|
nVal | _obj object |
void clear()
The clear method purges all PAny objects from a PList object.
boolean isEmpty()
The isEmpty method checks whether a PList is empty.
int size()
The size method checks the size of a PList.
String toString()
The toString method converts a PList object to a string.
Returns: Returns a string representing the value of the PList object.
Remark: Overrides the toString method in the java.lang.Object class.