Linked Hash Tree Map
A map of comparable keys to values. Unlike {@code TreeMap} , this class uses insertion order for iteration order. Comparison order is only used as an optimization for efficient insertion and removal.
This implementation was derived from Android 4.1's TreeMap and LinkedHashMap classes.
Constructors
LinkedHashTreeMap
Link copied to clipboard
Create a natural order, empty tree map whose keys must be mutually comparable and non-null.
open fun LinkedHashTreeMap()
Content copied to clipboard
LinkedHashTreeMap
Link copied to clipboard
Create a tree map ordered by {@code comparator} . This map's keys may only be null if {@code * comparator} permits.
Types
AvlBuilder
Link copied to clipboard
AvlIterator
Link copied to clipboard
EntrySet
Link copied to clipboard
KeySet
Link copied to clipboard
LinkedTreeMapIterator
Link copied to clipboard
Functions
clear
Link copied to clipboard
compute
Link copied to clipboard
computeIfAbsent
Link copied to clipboard
computeIfPresent
Link copied to clipboard
open fun computeIfPresent(key: K, remappingFunction: BiFunction<out Any, out Any, out V>): V
Content copied to clipboard
containsKey
Link copied to clipboard
containsValue
Link copied to clipboard
copyOf
Link copied to clipboard
doubleCapacity
Link copied to clipboard
open fun <K, V> doubleCapacity(oldTable: Array<LinkedHashTreeMap.Node<K, V>>): Array<LinkedHashTreeMap.Node<K, V>>
Content copied to clipboard
entry
Link copied to clipboard
entrySet
Link copied to clipboard
find
Link copied to clipboard
findByEntry
Link copied to clipboard
open fun findByEntry(entry: Map.Entry<out Any, out Any>): LinkedHashTreeMap.Node<K, V>
Content copied to clipboard
findByObject
Link copied to clipboard
forEach
Link copied to clipboard
get
Link copied to clipboard
getOrDefault
Link copied to clipboard
keySet
Link copied to clipboard
merge
Link copied to clipboard
ofEntries
Link copied to clipboard
put
Link copied to clipboard
putIfAbsent
Link copied to clipboard
remove
Link copied to clipboard
removeInternal
Link copied to clipboard
open fun removeInternal(node: LinkedHashTreeMap.Node<K, V>, unlink: Boolean)
Content copied to clipboard
removeInternalByKey
Link copied to clipboard
replace
Link copied to clipboard
replaceAll
Link copied to clipboard
size
Link copied to clipboard
values
Link copied to clipboard