BaseItemJsonArray, TableList, YamlEntitypublic class SortedList<V> extends SimpleList<V>
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Comparator<V> |
cpr |
ALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, CASESENSITIVE, flag, MAP, READONLY, REMOVED, VISIBLEPROPERTY| Constructor | Description |
|---|---|
SortedList(boolean comparator) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Comparator<java.lang.Object> |
comparator() |
|
BaseItem |
getChild(int index) |
get a Child for index
|
<ST extends SimpleList<V>> |
headSet(V toElement,
boolean inclusive) |
Returns a view of the portion of this map whose keys are less than (or
equal to, if
inclusive is true) toKey. |
V |
higher(V toElement) |
|
boolean |
isComparator() |
|
<ST extends SimpleList<V>> |
tailSet(V fromElement,
boolean inclusive) |
Returns a view of the portion of this map whose keys are greater than (or
equal to, if
inclusive is true) fromKey. |
java.lang.String |
toString(int indentFactor) |
Make a prettyprinted text of this List.
|
SortedList<V> |
withComparator(java.lang.String column) |
|
SortedList<V> |
withComparator(java.util.Comparator<V> comparator) |
add, addHashItem, addKeyValue, checkValue, clear, contains, containsAll, containsAll, first, flag, get, getByIndex, getKeyByIndex, getPositionKey, getTypClass, getValue, hashKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isEmpty, isReadOnly, isVisible, last, lastIndexOf, move, pack, parseItem, removeAll, removeByIndex, removeByObject, removeItem, replaceAllValues, reset, reset, retainAll, setAllowEmptyValue, setFlag, setValue, size, toArray, toArray, toString, toString, with, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withSize, withType, withVisibleadd, addAll, addAll, ceiling, copyEntity, equals, filter, filterItems, hashCode, iterator, iterator, iteratorReverse, listIterator, listIterator, lower, remove, set, subSet, withListadd, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, of, of, of, of, of, of, of, of, of, of, of, of, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, toArray, toArrayequals, finalize, getClass, notify, notifyAll, wait, wait, waitadd, clone, fireProperty, getNewList, remove, subList, withListenerprotected java.util.Comparator<V> cpr
public java.util.Comparator<java.lang.Object> comparator()
comparator in class AbstractArray<V>public boolean isComparator()
isComparator in class AbstractArray<V>public SortedList<V> withComparator(java.util.Comparator<V> comparator)
public SortedList<V> withComparator(java.lang.String column)
public <ST extends SimpleList<V>> ST tailSet(V fromElement, boolean inclusive)
inclusive is true) fromKey.ST - the ContainerClassfromElement - low endpoint of the keys in the returned mapinclusive - true if the low endpoint is to be included in the
returned viewinclusive is true) fromKeypublic <ST extends SimpleList<V>> ST headSet(V toElement, boolean inclusive)
inclusive is true) toKey. The returned map
is backed by this map, so changes in the returned map are reflected in
this map, and vice-versa. The returned map supports all optional map
operations that this map supports.
The returned map will throw an IllegalArgumentException on an
attempt to insert a key outside its range.
ST - the ContainerClasstoElement - high endpoint of the keys in the returned mapinclusive - true if the high endpoint is to be included in the
returned viewpublic java.lang.String toString(int indentFactor)
indentFactor - The number of spaces to add to each level of indentation.public BaseItem getChild(int index)
index - for Child