|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.AbstractConfiguration.Container
Private Wrapper class for List, so we can distinguish between List objects and our container
Field Summary | |
private java.util.List |
list
We're wrapping a List object (A List) |
Constructor Summary | |
AbstractConfiguration.Container()
C'tor |
Method Summary | |
void |
add(java.lang.Object o)
Add an Object to the Container |
java.util.List |
asList()
Returns the Elements of the Container as a List. |
java.lang.Object |
get(int index)
Returns the Element at an index |
java.util.Iterator |
iterator()
Returns an Iterator over the container objects |
int |
size()
Returns the current size of the Container |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.List list
Constructor Detail |
public AbstractConfiguration.Container()
Method Detail |
public void add(java.lang.Object o)
o
- The Objectpublic int size()
public java.lang.Object get(int index)
index
- The Index
public java.util.Iterator iterator()
public java.util.List asList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |