public class SortedList<V> extends SimpleList<V>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Comparator<V> |
cpr |
ALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, BIG_KEY, BIG_VALUE, CASESENSITIVE, DELETED, elements, emptyArray, flag, MAP, MAXDELETED, MAXUSEDLIST, MINHASHINGSIZE, MINSIZE, MINUSEDLIST, READONLY, SIZE_BIG, SMALL_KEY, SMALL_VALUE, VISIBLE| Constructor and Description |
|---|
SortedList() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<java.lang.Object> |
comparator() |
<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. |
SortedList<V> |
withComparator(java.util.Comparator<V> comparator) |
SortedList<V> |
withComparator(java.lang.String column) |
clone, getNewList, remove, subListadd, add, addAll, addAll, copyEntity, iteratorReverse, lastIndexOf, listIterator, listIterator, remove, removeItemByObject, set, subSet, with, withAll, withListaddFlag, addHashItem, addKey, addKeyValue, checkValue, clear, contains, containsAll, fireProperty, first, flag, get, getByIndex, getKeyByIndex, getLastPositionKey, getPositionKey, getPositionValue, getSignalFlag, getValueItem, hashKey, hasKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isEmpty, isReadOnly, isVisible, iterator, last, lastindexOf, move, pack, removeAll, removeByObject, retainAll, setValue, size, toArray, toArray, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withVisibleequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected 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 view