|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecteu.reservoir.monitoring.core.list.DefaultMList
public class DefaultMList
A default implementation of a MList.
| Constructor Summary | |
|---|---|
DefaultMList(ProbeAttributeType listType)
Construct a MList. |
|
| Method Summary | |
|---|---|
MList |
add(MListValue value)
Add some data value to the list. |
MList |
add(java.lang.Object value)
Add an object value to the list. |
MListValue |
get(int n)
Get the Nth element from a list. |
ProbeAttributeType |
getType()
Get the type of the elements for a MList. |
MList |
set(int n,
MListValue value)
Set the Nth element of a list. |
int |
size()
Get the size of the list. |
java.util.List<MListValue> |
toList()
Convert the MList to a List. |
java.lang.String |
toString()
To string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMList(ProbeAttributeType listType)
| Method Detail |
|---|
public int size()
size in interface MListpublic MListValue get(int n)
get in interface MList
public MList set(int n,
MListValue value)
throws TypeException
set in interface MListTypeException
public MList add(MListValue value)
throws TypeException
add in interface MListTypeException
public MList add(java.lang.Object value)
throws TypeException
add in interface MListTypeExceptionpublic java.util.List<MListValue> toList()
toList in interface MListpublic ProbeAttributeType getType()
getType in interface MListpublic 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 | ||||||||