T
- public interface Node<T>
限定符和类型 | 方法和说明 |
---|---|
Node<T> |
add(Node<?>... nodes) |
Node<T> |
addFirst(Node<T> node) |
Node<T> |
child(int index) |
Node<T> |
clearChildren() |
int |
countChildren() |
int |
depth() |
Node<T> |
desc(int... indexes) |
<E extends Node<T>> |
eachChild(Each<E> callback) |
Node<T> |
firstChild() |
T |
get() |
List<Node<T>> |
getAncestors() |
List<Node<T>> |
getChildren() |
int |
getIndex() |
List<Node<T>> |
getNextSibling() |
List<Node<T>> |
getPrevSibling() |
boolean |
hasChild() |
int |
index() |
Node<T> |
insertBefore(int index,
Node<T> node) |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
isRoot() |
Iterator<Node<T>> |
iterator() |
Node<T> |
lastChild() |
Node<T> |
next() |
Node<T> |
next(int index) |
Node<T> |
next(Node<T> node) |
Node<T> |
parent() |
Node<T> |
parent(Node<T> node) |
List<Node<T>> |
parents() |
Node<T> |
pop() |
Node<T> |
popFirst() |
Node<T> |
prev() |
Node<T> |
prev(int index) |
Node<T> |
prev(Node<T> node) |
boolean |
remove() |
Node<T> |
removeChild(int index) |
Node<T> |
set(T obj) |
Node<T> |
top() |
String |
toString(int level) |
Copyright © 2017. All rights reserved.