Node
s.
Modifier and Type | Class and Description |
---|---|
private static class | |
private static class |
Access | Constructor and Description |
---|---|
private |
Nodes | back to summary |
---|---|
private Nodes() |
between | back to summary |
---|---|
public static Iterable The nodes between (not including) start and end. |
Access | Constructor and Description |
---|---|
private |
end | back to summary |
---|---|
private final Node end |
first | back to summary |
---|---|
private final Node first |
NodeIterable | back to summary |
---|---|
private NodeIterable(Node first, Node end) |
iterator | back to summary |
---|---|
public Iterator Implements java. Doc from java. Returns an iterator over elements of type |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public boolean | |
public Node | |
public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
NodeIterator | back to summary |
---|---|
private NodeIterator(Node first, Node end) |
hasNext | back to summary |
---|---|
public boolean hasNext() Implements java. Doc from java. Returns
|
next | back to summary |
---|---|
public Node next() Implements java. Doc from java. Returns the next element in the iteration. |
remove | back to summary |
---|---|
public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
|