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 and Description |
---|---|
|
SortedMap()
Create an empty list.
|
protected |
SortedMap(Map<T,Node> map)
Create an empty list with a specific storage method.
|
Modifier and Type | Method and Description |
---|---|
Comparator<? super Node> |
getComparator()
Get the current comparator.
|
void |
setComparator(Comparator<? super Node> c)
Set the comparator.
|
add, initMap, put, putAll, refresh, refreshKey, remove, remove, removeAll
addNotify, clone, create, createLazy, findChild, getNode, getNodeAt, getNodes, getNodes, getNodesCount, getNodesCount, isInitialized, nodes, removeNotify, snapshot
public SortedMap()
protected SortedMap(Map<T,Node> map)
map
- the map to use with this objectChildren.Map.Map(java.util.Map)
public void setComparator(Comparator<? super Node> c)
c
- the new comparator that should compare nodespublic Comparator<? super Node> getComparator()