public static class Children.SortedMap<T> extends Children.Map<T>
Children.SortedArray.Children.Array, Children.Keys<T>, Children.Map<T>, Children.SortedArray, Children.SortedMap<T>nodes| Modifier | Constructor | Description |
|---|---|---|
|
SortedMap() |
Create an empty list.
|
protected |
SortedMap(java.util.Map<T,Node> map) |
Create an empty list with a specific 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, clone, create, createLazy, findChild, getNode, getNodeAt, getNodes, getNodes, getNodesCount, getNodesCount, isInitialized, nodes, removeNotify, snapshotadd, initMap, put, putAll, refresh, refreshKey, remove, remove, removeAllpublic void setComparator(java.util.Comparator<? super Node> c)
c - the new comparator that should compare nodespublic java.util.Comparator<? super Node> getComparator()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.