|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.outrigger.FastList.Node
static class FastList.Node
The type parameter for the FastList, T, must extend this type, and all nodes added to the list are of type T. A node can be added to a list at most once. Any attempt to add it again will result in an IllegalStateException.
Field Summary | |
---|---|
private long |
index
This node does not need to be shown to scans with index greater than or equal to this index. |
private FastList<?> |
list
null until the node is added to a list, then a reference to the list. |
private boolean |
removed
True if this node has been removed from its list. |
Constructor Summary | |
---|---|
FastList.Node()
|
Method Summary | |
---|---|
(package private) void |
markOnList(FastList<?> list)
|
private boolean |
remove()
Remove this node from its list. |
boolean |
removed()
Report whether the node has been removed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private volatile boolean removed
private volatile long index
private FastList<?> list
Constructor Detail |
---|
FastList.Node()
Method Detail |
---|
private boolean remove()
void markOnList(FastList<?> list)
public boolean removed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |