org.aksw.commons.collections
Class DescenderIterator<T>
java.lang.Object
org.aksw.commons.collections.DescenderIterator<T>
- All Implemented Interfaces:
- Iterator<List<T>>
public class DescenderIterator<T>
- extends Object
- implements Iterator<List<T>>
Derived from
StackCartesianProductIterator it = new StackCartesianProductIterator(a, b,c);
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DescenderIterator
public DescenderIterator(T base,
Descender<T> descender)
getIndexesOfEmptySubIterables
public static <T> List<Integer> getIndexesOfEmptySubIterables(List<? extends Iterable<? extends T>> iterables)
loadChildren
public void loadChildren()
canDescend
public boolean canDescend()
descend
public void descend()
- Set the iterator to the children of the current node.
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<List<T>>
next
public List<T> next()
- Specified by:
next in interface Iterator<List<T>>
remove
public void remove()
- Specified by:
remove in interface Iterator<List<T>>
Copyright © 2012. All Rights Reserved.