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 TypeMethodDescriptionboolean
get
(int i) Get the element at the given indexint
Get the index of a given elementboolean
isEmpty()
listIterator
(int index) poll()
Get and remove the first elementboolean
default boolean
removeAll
(Collection<?> col) int
size()
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
-