public class SingleNodeIterator extends NodeIterator
Modifier and Type | Field and Description |
---|---|
static SingleNodeIterator |
EMPTY |
Modifier and Type | Method and Description |
---|---|
void |
advance() |
PsiElement |
current() |
boolean |
hasNext() |
static SingleNodeIterator |
newSingleNodeIterator(PsiElement node) |
void |
reset() |
void |
rewind() |
clone, rewind, rewindTo
public static final SingleNodeIterator EMPTY
public static SingleNodeIterator newSingleNodeIterator(PsiElement node)
public boolean hasNext()
hasNext
in class NodeIterator
public PsiElement current()
current
in class NodeIterator
public void advance()
advance
in class NodeIterator
public void rewind()
rewind
in class NodeIterator
public void reset()
reset
in class NodeIterator