public static class Children.SortedArray extends Children.Array
Children.Array, Children.Keys<T>, Children.Map<T>, Children.SortedArray, Children.SortedMap<T>nodes| Modifier | Constructor | Description |
|---|---|---|
|
SortedArray() |
Create an empty list of children.
|
protected |
SortedArray(java.util.Collection<Node> c) |
Create an empty list with a specified storage method.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Comparator<? super Node> |
getComparator() |
Get the current comparator.
|
void |
setComparator(java.util.Comparator<? super Node> c) |
Set the comparator.
|
addNotify, create, createLazy, findChild, getNode, getNodeAt, getNodes, getNodes, getNodesCount, getNodesCount, isInitialized, nodes, removeNotify, snapshotadd, clone, initCollection, refresh, removepublic SortedArray()
protected SortedArray(java.util.Collection<Node> c)
c - collection to store data inpublic void setComparator(java.util.Comparator<? super Node> c)
c - the new comparatorpublic java.util.Comparator<? super Node> getComparator()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.