static class FastList.Node extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
FastList.Node() |
Modifier and Type | Method and Description |
---|---|
(package private) long |
getIndex() |
(package private) FastList<?> |
getList() |
(package private) void |
markOnList(FastList<?> list) |
(package private) boolean |
remove()
Remove this node from its list.
|
boolean |
removed()
Report whether the node has been removed.
|
(package private) void |
setIndex(long index) |
(package private) void |
setList(FastList<?> list) |
private volatile boolean removed
private volatile long index
private FastList<?> list
boolean remove()
void markOnList(FastList<?> list)
public boolean removed()
long getIndex()
void setIndex(long index)
index
- the index to setFastList<?> getList()
void setList(FastList<?> list)
list
- the list to setCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.