Interface ValueSortedMap.LesserList<E>
- Type Parameters:
E- the type of element
- All Superinterfaces:
Iterable<E>
- All Known Subinterfaces:
SortedList<E>, ValueSortedMap.ValueSortedMapEntryList<K,V>, ValueSortedMap.ValueSortedMapKeyList<K>
- All Known Implementing Classes:
RestrictedValueSortedMap.RestrictedSortedList, RestrictedValueSortedMap.RestrictedValueSortedMapEntryList, RestrictedValueSortedMap.RestrictedValueSortedMapKeyList, TreeValueSortedMap.ValueSortedTreeMapEntrySet, TreeValueSortedMap.ValueSortedTreeMapKeySet, TreeValueSortedMap.ValueSortedTreeMapValues
- Enclosing interface:
ValueSortedMap<K,V>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanget(int i) Get the element at the given indexintGet the index of a given elementbooleanisEmpty()listIterator(int index) poll()Get and remove the first elementbooleandefault booleanremoveAll(Collection<?> col) intsize()toList()Copy this to a new listMethods inherited from interface Iterable
forEach, iterator, spliterator
-
Method Details
-
isEmpty
boolean isEmpty() -
size
int size() -
get
-
toList
-
listIterator
-
indexOf
Get the index of a given elementReturns the index of the element, or -1 if not found
- Parameters:
o- the object- Returns:
- the index or -1
-
contains
-
poll
-
remove
-
removeAll
-