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 java.util.List<T> |
list |
list of objects that should be manipulated with this keys
|
nodes| Constructor | Description |
|---|---|
KeysChildren(java.util.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 java.lang.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, snapshotinitCollection, refreshadd, clone, createNodes, destroyNodes, refreshKey, remove, setBefore, setKeys, setKeysprotected final java.util.List<T> list
public KeysChildren(java.util.List<T> ar)
ar - the array of any objectspublic Index getIndex()
protected Index createIndex()
protected void reorder(int[] perm)
protected java.lang.Object lock()
public final void update()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.