public class SortedList<V> extends SimpleList<V>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Comparator<V> |
cpr |
ALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, CASESENSITIVE, flag, MAP, READONLY, REMOVED, VISIBLE| Constructor and Description |
|---|
SortedList(boolean comparator) |
| 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) |
add, clone, filter, getNewList, remove, subListadd, addAll, addAll, ceiling, copyEntity, equals, filterItems, hashCode, iterator, iterator, iteratorReverse, listIterator, listIterator, remove, set, subSet, withListadd, addHashItem, addKeyValue, checkValue, clear, contains, containsAll, containsAll, fireProperty, 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, retainAll, setAllowEmptyValue, setFlag, setValue, size, toArray, toArray, toString, toString, with, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withSize, withType, withVisiblefinalize, getClass, hashCode, notify, notifyAll, 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