|
|||||||||
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 MList
public MListValue get(int n)
get
in interface MList
public MList set(int n, MListValue value) throws TypeException
set
in interface MList
TypeException
public MList add(MListValue value) throws TypeException
add
in interface MList
TypeException
public MList add(java.lang.Object value) throws TypeException
add
in interface MList
TypeException
public java.util.List<MListValue> toList()
toList
in interface MList
public ProbeAttributeType getType()
getType
in interface MList
public 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 |