private class AnnotationType2AnnotationContainer.NonRecursiveIterator extends Object implements Iterator<Annotation>
Modifier and Type | Field and Description |
---|---|
private Iterator<Annotation> |
annotationIt |
private Annotation |
next |
private boolean |
nextCalled |
private IdentityHashMap<SpanNode,SpanNode> |
nodes |
Constructor and Description |
---|
NonRecursiveIterator(IdentityHashMap<SpanNode,SpanNode> nodes) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Annotation |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private final IdentityHashMap<SpanNode,SpanNode> nodes
private final Iterator<Annotation> annotationIt
private Annotation next
private boolean nextCalled
public NonRecursiveIterator(IdentityHashMap<SpanNode,SpanNode> nodes)
public boolean hasNext()
hasNext
in interface Iterator<Annotation>
public Annotation next()
next
in interface Iterator<Annotation>
public void remove()
remove
in interface Iterator<Annotation>
Copyright © 2018. All rights reserved.