public static class DataFolder.Index extends Index.Support
Index.ArrayChildren, Index.KeysChildren<T>, Index.Support
Constructor and Description |
---|
Index(DataFolder df)
Deprecated.
Please explicitly specify a node to be safe.
|
Index(DataFolder df,
Node node)
Create an index cookie associated with a data folder.
|
Modifier and Type | Method and Description |
---|---|
Node[] |
getNodes() |
int |
getNodesCount() |
void |
reorder() |
void |
reorder(int[] perm) |
addChangeListener, exchange, fireChangeEvent, indexOf, move, moveDown, moveUp, removeChangeListener, showIndexedCustomizer
@Deprecated public Index(DataFolder df)
df
- the data folderpublic Index(DataFolder df, Node node)
df
- the data foldernode
- node to be associated with. subnodes of this node will be returned, etc.public int getNodesCount()
getNodesCount
in interface Index
getNodesCount
in class Index.Support
public Node[] getNodes()
getNodes
in interface Index
getNodes
in class Index.Support
public void reorder(int[] perm)
reorder
in interface Index
reorder
in class Index.Support
public void reorder()
reorder
in interface Index
reorder
in class Index.Support