protected static class GraphUtils.DefaultGraphIterator<E,ID> extends Object implements GraphIterator<E>
| Constructor and Description |
|---|
DefaultGraphIterator(Collection<E> fromNodes,
com.google.common.base.Function<E,Collection<E>> nextNodeProvider,
com.google.common.base.Function<E,ID> nodeIdExtractor,
GraphUtils.NodeInserter<E> nodeInserter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
E |
next() |
void |
prune()
prunes the subgraph from the current element from the iteration
|
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic DefaultGraphIterator(Collection<E> fromNodes, com.google.common.base.Function<E,Collection<E>> nextNodeProvider, com.google.common.base.Function<E,ID> nodeIdExtractor, GraphUtils.NodeInserter<E> nodeInserter)
public void prune()
GraphIteratorprune in interface GraphIterator<E>Copyright © 2015 Atlassian Software Systems. All rights reserved.