de.intarsys.tools.collection
Class NestedIterator
java.lang.Object
de.intarsys.tools.collection.NestedIterator
- All Implemented Interfaces:
- Iterator
public class NestedIterator
- extends Object
- implements Iterator
An iterator to enumerate sequentially the elements in a hierarchical
collection.
NestedIterator
public NestedIterator(Iterator i)
NestedIterator
public NestedIterator(List l)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator
next
public Object next()
- Specified by:
next in interface Iterator
remove
public void remove()
- Specified by:
remove in interface Iterator
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.