public static class Children.SortedArray extends Children.Array
Children.Array, Children.Keys<T>, Children.Map<T>, Children.SortedArray, Children.SortedMap<T>nodes| Modifier | Constructor and Description |
|---|---|
|
SortedArray()
Create an empty list of children.
|
protected |
SortedArray(Collection<Node> c)
Create an empty list with a specified 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, clone, initCollection, refresh, removeaddNotify, create, createLazy, findChild, getNode, getNodeAt, getNodes, getNodes, getNodesCount, getNodesCount, isInitialized, nodes, removeNotify, snapshotpublic SortedArray()
protected SortedArray(Collection<Node> c)
c - collection to store data inChildren.Array.Children.Array(Collection)public void setComparator(Comparator<? super Node> c)
c - the new comparatorpublic Comparator<? super Node> getComparator()
Built on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.