Uses of Interface
com.github.andrewoma.dexx.collection.KeyFunction
-
Packages that use KeyFunction Package Description com.github.andrewoma.dexx.collection Dexx collections are a port of Scala's immutable, persistent collection classes to pure Java.com.github.andrewoma.dexx.collection.internal.hashmap com.github.andrewoma.dexx.collection.internal.redblack -
-
Uses of KeyFunction in com.github.andrewoma.dexx.collection
Classes in com.github.andrewoma.dexx.collection that implement KeyFunction Modifier and Type Class Description class
IdentityKeyFunction<E>
IdentityKeyFunction
is aKeyFunction
where the value can be used as a key.Fields in com.github.andrewoma.dexx.collection declared as KeyFunction Modifier and Type Field Description private KeyFunction<K,V>
DerivedKeyHashMap. keyFunction
private static KeyFunction
HashMap. keyFunction
private static KeyFunction
HashSet. keyFunction
Methods in com.github.andrewoma.dexx.collection that return KeyFunction Modifier and Type Method Description private KeyFunction<K,Pair<K,V>>
HashMap. keyFunction()
private KeyFunction<E,E>
HashSet. keyFunction()
Methods in com.github.andrewoma.dexx.collection with parameters of type KeyFunction Modifier and Type Method Description static <K,V>
@NotNull BuilderFactory<Pair<K,V>,DerivedKeyHashMap<K,V>>DerivedKeyHashMap. factory(KeyFunction<K,V> keyFunction)
static <K,V>
@NotNull BuilderFactory<Pair<K,V>,TreeMap<K,V>>TreeMap. factory(java.util.Comparator<? super K> ordering, KeyFunction<K,V> keyFunction)
Constructors in com.github.andrewoma.dexx.collection with parameters of type KeyFunction Constructor Description DerivedKeyHashMap(@NotNull KeyFunction<K,V> keyFunction)
DerivedKeyHashMap(KeyFunction<K,V> keyFunction, CompactHashMap<K,V> compactHashMap)
TreeMap(java.util.Comparator<? super K> ordering, KeyFunction<K,V> keyFunction)
-
Uses of KeyFunction in com.github.andrewoma.dexx.collection.internal.hashmap
Fields in com.github.andrewoma.dexx.collection.internal.hashmap declared as KeyFunction Modifier and Type Field Description private KeyFunction<K,V>
CompactHashMapIterator. keyFunction
Methods in com.github.andrewoma.dexx.collection.internal.hashmap with parameters of type KeyFunction Modifier and Type Method Description <U> void
CompactHashMap. forEach(Function<Pair<K,V>,U> f, KeyFunction<K,V> keyFunction)
<U> void
HashMap1. forEach(Function<Pair<K,V>,U> f, KeyFunction<K,V> keyFunction)
<U> void
HashMapCollision1. forEach(Function<Pair<K,V>,U> f, KeyFunction<K,V> keyFunction)
<U> void
HashTrieMap. forEach(Function<Pair<K,V>,U> f, KeyFunction<K,V> keyFunction)
V
CompactHashMap. get(K key, KeyFunction<K,V> keyFunction)
protected V
CompactHashMap. get0(K key, int hash, int level, KeyFunction<K,V> keyFunction)
protected V
HashMap1. get0(K key, int hash, int level, KeyFunction<K,V> keyFunction)
protected V
HashMapCollision1. get0(K key, int hash, int level, KeyFunction<K,V> keyFunction)
protected V
HashTrieMap. get0(K key, int hash, int level, KeyFunction<K,V> keyFunction)
(package private) CompactHashMap<K,V>
HashTrieMap. getElem(int index, KeyFunction<K,V> keyFunction)
java.util.Iterator<Pair<K,V>>
CompactHashMap. iterator(KeyFunction<K,V> kf)
java.util.Iterator<Pair<K,V>>
HashMap1. iterator(KeyFunction<K,V> kf)
java.util.Iterator<Pair<K,V>>
HashMapCollision1. iterator(KeyFunction<K,V> kf)
java.util.Iterator<Pair<K,V>>
HashTrieMap. iterator(KeyFunction<K,V> kf)
CompactHashMap<K,V>
CompactHashMap. put(K key, V value, KeyFunction<K,V> keyFunction)
CompactHashMap<K,V>
CompactHashMap. remove(K key, KeyFunction<K,V> keyFunction)
protected CompactHashMap<K,V>
CompactHashMap. removed0(K key, int hash, int level, KeyFunction<K,V> keyFunction)
protected CompactHashMap<K,V>
HashMap1. removed0(K key, int hash, int level, KeyFunction<K,V> keyFunction)
protected CompactHashMap<K,V>
HashMapCollision1. removed0(K key, int hash, int level, KeyFunction<K,V> keyFunction)
protected CompactHashMap<K,V>
HashTrieMap. removed0(K key, int hash, int level, KeyFunction<K,V> keyFunction)
protected CompactHashMap<K,V>
CompactHashMap. updated0(K key, int hash, int level, V value, Pair<K,V> kv, KeyFunction<K,V> keyFunction)
protected CompactHashMap<K,V>
HashMap1. updated0(K key, int hash, int level, V value, Pair<K,V> kv, KeyFunction<K,V> keyFunction)
protected CompactHashMap<K,V>
HashMapCollision1. updated0(K key, int hash, int level, V value, Pair<K,V> kv, KeyFunction<K,V> keyFunction)
protected CompactHashMap<K,V>
HashTrieMap. updated0(K key, int hash, int level, V value, Pair<K,V> kv, KeyFunction<K,V> keyFunction)
protected CompactHashMap<K,V>
CompactHashMap. wrap(java.lang.Object object, KeyFunction<K,V> keyFunction)
Constructors in com.github.andrewoma.dexx.collection.internal.hashmap with parameters of type KeyFunction Constructor Description CompactHashMapIterator(java.lang.Object[] elems, KeyFunction<K,V> keyFunction)
-
Uses of KeyFunction in com.github.andrewoma.dexx.collection.internal.redblack
Fields in com.github.andrewoma.dexx.collection.internal.redblack declared as KeyFunction Modifier and Type Field Description private KeyFunction<K,V>
KeysIterator. kf
private KeyFunction<K,V>
RedBlackTree. kf
Methods in com.github.andrewoma.dexx.collection.internal.redblack that return KeyFunction Modifier and Type Method Description KeyFunction<K,V>
RedBlackTree. getKeyFunction()
Methods in com.github.andrewoma.dexx.collection.internal.redblack with parameters of type KeyFunction Modifier and Type Method Description K
AbstractDefaultTree. getKey(KeyFunction<K,V> keyFunction)
K
AbstractDerivedKeyTree. getKey(KeyFunction<K,V> keyFunction)
abstract K
AbstractTree. getKey(KeyFunction<K,V> keyFunction)
K
Tree. getKey(KeyFunction<K,V> keyFunction)
Constructors in com.github.andrewoma.dexx.collection.internal.redblack with parameters of type KeyFunction Constructor Description KeysIterator(Tree<K,V> tree, KeyFunction<K,V> kf)
RedBlackTree(TreeFactory factory, java.util.Comparator<? super K> ordering, KeyFunction<K,V> keyFunction)
-