Class TreeValueSortedMap.ValueSortedTreeMapEntrySet
java.lang.Object
java.util.AbstractCollection<Map.Entry<K,V>>
java.util.AbstractSet<Map.Entry<K,V>>
ghidra.generic.util.datastruct.TreeValueSortedMap.ValueSortedTreeMapEntrySet
- All Implemented Interfaces:
ValueSortedMap.LesserList<Map.Entry<K,V>>, ValueSortedMap.ValueSortedMapEntryList<K, V>, Iterable<Map.Entry<K, V>>, Collection<Map.Entry<K, V>>, Set<Map.Entry<K, V>>
- Enclosing class:
TreeValueSortedMap<K,V>
protected class TreeValueSortedMap.ValueSortedTreeMapEntrySet
extends AbstractSet<Map.Entry<K,V>>
implements ValueSortedMap.ValueSortedMapEntryList<K,V>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanInserts (by copy) the entry into the owning mapvoidclear()booleanget(int index) Get the element at the given indexintGet the index of a given elementbooleanisEmpty()iterator()listIterator(int index) poll()Get and remove the first elementbooleanintsize()toList()Copy this to a new listMethods inherited from class AbstractSet
equals, hashCode, removeAllMethods inherited from class AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface Set
addAll, containsAll, retainAll, spliterator, toArray, toArrayMethods inherited from interface ValueSortedMap.LesserList
removeAll
-
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
-
add
-
clear
-
contains
-
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
-
isEmpty
-
listIterator
- Specified by:
listIteratorin interfaceValueSortedMap.LesserList<Map.Entry<K,V>>
-
iterator
-
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
-
size
-