Package ghidra.generic.util.datastruct
Class RestrictedValueSortedMap.RestrictedValueSortedMapEntryList
java.lang.Object
ghidra.generic.util.datastruct.RestrictedValueSortedMap.RestrictedValueSortedMapEntryList
- All Implemented Interfaces:
ValueSortedMap.LesserList<Map.Entry<K,,V>> ValueSortedMap.ValueSortedMapEntryList<K,,V> Iterable<Map.Entry<K,V>>
- Enclosing class:
RestrictedValueSortedMap<K,V>
public class RestrictedValueSortedMap.RestrictedValueSortedMapEntryList
extends Object
implements ValueSortedMap.ValueSortedMapEntryList<K,V>
A list view suitable for
ValueSortedMap.entrySet() of
RestrictedValueSortedMap-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface ghidra.generic.util.datastruct.ValueSortedMap.LesserList
removeAll
-
Constructor Details
-
RestrictedValueSortedMapEntryList
public RestrictedValueSortedMapEntryList()
-
-
Method Details
-
toList
Description copied from interface:ValueSortedMap.LesserListCopy this to a new list- Specified by:
toListin interfaceValueSortedMap.LesserList<Map.Entry<K,V>> - Returns:
- the list
-
size
public int size()- Specified by:
sizein interfaceValueSortedMap.LesserList<Map.Entry<K,V>>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceValueSortedMap.LesserList<Map.Entry<K,V>>
-
contains
- Specified by:
containsin interfaceValueSortedMap.LesserList<Map.Entry<K,V>>
-
iterator
-
get
Description copied from interface:ValueSortedMap.LesserListGet the element at the given index- Specified by:
getin interfaceValueSortedMap.LesserList<Map.Entry<K,V>> - Parameters:
index- the index- Returns:
- the element
-
indexOf
Description copied from interface:ValueSortedMap.LesserListGet the index of a given elementReturns the index of the element, or -1 if not found
- Specified by:
indexOfin interfaceValueSortedMap.LesserList<Map.Entry<K,V>> - Parameters:
o- the object- Returns:
- the index or -1
-
listIterator
- Specified by:
listIteratorin interfaceValueSortedMap.LesserList<Map.Entry<K,V>>
-
poll
Description copied from interface:ValueSortedMap.LesserListGet and remove the first element- Specified by:
pollin interfaceValueSortedMap.LesserList<Map.Entry<K,V>> - Returns:
- the first element, or null if empty
-
remove
- Specified by:
removein interfaceValueSortedMap.LesserList<Map.Entry<K,V>>
-