|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.newdawn.slick.util.xml.XMLElementList
public class XMLElementList
A simple typed list.
Constructor Summary | |
---|---|
XMLElementList()
Create a new list |
Method Summary | |
---|---|
void |
add(XMLElement element)
Add an element to the list |
void |
addAllTo(java.util.Collection collection)
Add all the elements in this list to another collection |
boolean |
contains(XMLElement element)
Check if this list contains the given element |
XMLElement |
get(int i)
Get the element at a specified index |
int |
size()
Get the number of elements in the list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLElementList()
Method Detail |
---|
public void add(XMLElement element)
element
- The element to be addedpublic int size()
public XMLElement get(int i)
i
- The index of the element
public boolean contains(XMLElement element)
element
- The element to check for
public void addAllTo(java.util.Collection collection)
collection
- The collection the elements should be added to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |