Package ghidra.generic.util.datastruct
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 java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
isEmpty
boolean isEmpty() -
size
int size() -
get
Get the element at the given index- Parameters:
i- the index- Returns:
- the element
-
toList
Copy this to a new list- Returns:
- the list
-
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
E poll()Get and remove the first element- Returns:
- the first element, or null if empty
-
remove
-
removeAll
-