org.tinyjee.maven.dim.utils
Class NodeListAdapter
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Node>
org.tinyjee.maven.dim.utils.NodeListAdapter
- All Implemented Interfaces:
- Iterable<Node>, Collection<Node>, List<Node>
public class NodeListAdapter
- extends AbstractList<Node>
Adapts NodeList to Java Collections.
- Author:
- Juergen_Kellerer, 2011-10-30
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
NodeListAdapter
public NodeListAdapter(NodeList nodeList)
get
public Node get(int index)
- Specified by:
get
in interface List<Node>
- Specified by:
get
in class AbstractList<Node>
size
public int size()
- Specified by:
size
in interface Collection<Node>
- Specified by:
size
in interface List<Node>
- Specified by:
size
in class AbstractCollection<Node>