Package io.vavr.collection
Interface HashArrayMappedTrie<K,V>
- All Known Implementing Classes:
HashArrayMappedTrieModule.AbstractNode
,HashArrayMappedTrieModule.ArrayNode
,HashArrayMappedTrieModule.EmptyNode
,HashArrayMappedTrieModule.IndexedNode
,HashArrayMappedTrieModule.LeafList
,HashArrayMappedTrieModule.LeafNode
,HashArrayMappedTrieModule.LeafSingleton
An immutable Hash array mapped trie (HAMT).
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(K key) static <K,
V> HashArrayMappedTrie <K, V> empty()
boolean
isEmpty()
iterator()
Provide unboxed access to the keys in the trie.int
size()
Provide unboxed access to the values in the trie.Methods inherited from interface java.lang.Iterable
forEach, spliterator