|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFastList.Node<E>
public static class FastList.Node<E>
This class represents a FastList
node; it allows for direct
iteration over the list values
.
Custom FastList
may use a derived implementation.
For example:
static class MyList<E,X> extends FastList<E> {
protected MyNode newNode() {
return new MyNode();
}
class MyNode extends Node<E> {
X xxx; // Additional node field (e.g. cross references).
}
}
Constructor Summary | |
---|---|
protected |
FastList.Node()
Default constructor. |
Method Summary | |
---|---|
FastList.Node<E> |
getNext()
Returns the record after this one. |
FastList.Node<E> |
getPrevious()
Returns the record before this one. |
E |
getValue()
Returns the value for this node. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected FastList.Node()
Method Detail |
---|
public final E getValue()
public final FastList.Node<E> getNext()
FastCollection.Record
getNext
in interface FastCollection.Record
public final FastList.Node<E> getPrevious()
FastCollection.Record
getPrevious
in interface FastCollection.Record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |