Cloneable
public abstract static class Index.KeysChildren<T> extends Children.Keys<T>
Children.Array, Children.Keys<T>, Children.Map<T>, Children.SortedArray, Children.SortedMap<T>
Modifier and Type | Field | Description |
---|---|---|
protected List<T> |
list |
list of objects that should be manipulated with this keys
|
nodes
Constructor | Description |
---|---|
KeysChildren(List<T> ar) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected Index |
createIndex() |
The method that creates the supporting index for this
children object.
|
Index |
getIndex() |
Getter for the index that works with this children.
|
protected Object |
lock() |
The lock to use when accessing the list.
|
protected void |
reorder(int[] perm) |
|
void |
update() |
Update the status of the list if it has changed.
|
addNotify, create, createLazy, findChild, getNode, getNodeAt, getNodes, getNodes, getNodesCount, getNodesCount, isInitialized, nodes, removeNotify, snapshot
initCollection, refresh
add, clone, createNodes, destroyNodes, refreshKey, remove, setBefore, setKeys, setKeys
public Index getIndex()
protected Index createIndex()
protected void reorder(int[] perm)
protected Object lock()
public final void update()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.