ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION
Constructor and Description |
---|
NodeList() |
NodeList(Node parent) |
NodeList(Range range,
Node parent) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
NodeList<N> |
add(int index,
N node) |
NodeList<N> |
add(N node) |
void |
addAll(NodeList<N> otherList) |
boolean |
contains(N node) |
N |
get(int i) |
void |
ifNotEmpty(Consumer<NodeList<N>> consumer) |
boolean |
isEmpty() |
Iterator<N> |
iterator() |
static <X extends Node> |
nodeList(Collection<X> nodes) |
static <X extends Node> |
nodeList(NodeList<X> nodes) |
static <X extends Node> |
nodeList(X... nodes) |
NodeList<N> |
remove(int index) |
boolean |
remove(Node node) |
NodeList<N> |
set(int index,
N element) |
int |
size() |
void |
sort(Comparator<? super N> comparator) |
Stream<N> |
stream() |
addOrphanComment, clone, containsWithin, equals, getAllContainedComments, getBackwardsCompatibleChildrenNodes, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hashCode, isPositionedAfter, isPositionedBefore, remove, setAsParentNodeOf, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public NodeList()
public NodeList(Node parent)
public boolean remove(Node node)
public static <X extends Node> NodeList<X> nodeList(Collection<X> nodes)
public boolean contains(N node)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public int size()
public N get(int i)
public boolean isEmpty()
public void sort(Comparator<? super N> comparator)
Copyright © 2007–2016. All rights reserved.