Uses of Class
com.github.andrewoma.dexx.collection.Pair
Packages that use Pair
Package
Description
Dexx collections are a port of Scala's immutable, persistent collection classes to pure Java.
-
Uses of Pair in com.github.andrewoma.dexx.collection
Fields in com.github.andrewoma.dexx.collection with type parameters of type PairModifier and TypeFieldDescriptionprivate final CompactHashMap
<K, Pair<K, V>> HashMap.compactHashMap
HashMap.Itr.iterator
HashMap.Itr.iterator
Methods in com.github.andrewoma.dexx.collection that return PairModifier and TypeMethodDescriptionSortedMap.first()
Returns the first entry in the map ornull
if the map is empty.TreeMap.first()
SortedMap.last()
Returns the last entry in the map ornull
if the map is empty.TreeMap.last()
HashMap.Itr.next()
private static <K,
V> Pair <K, V> Maps.p
(K k, V v) private static <K,
V> Pair <K, V> SortedMaps.p
(K k, V v) Vector.splitAt
(int n) Methods in com.github.andrewoma.dexx.collection that return types with arguments of type PairModifier and TypeMethodDescriptionMaps.builder()
static <K extends Comparable<? super K>,
V>
@NotNull Builder<Pair<K, V>, SortedMap<K, V>> SortedMaps.builder()
SortedMaps.builder
(Comparator<? super K> comparator) 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>, HashMap<K, V>> HashMap.factory()
static <K,
V> @NotNull BuilderFactory <Pair<K, V>, Map<K, V>> Maps.factory()
static <K extends Comparable<? super K>,
V>
@NotNull BuilderFactory<Pair<K, V>, SortedMap<K, V>> SortedMaps.factory()
static <K,
V> @NotNull BuilderFactory <Pair<K, V>, SortedMap<K, V>> SortedMaps.factory
(Comparator<? super K> comparator) static <K,
V> @NotNull BuilderFactory <Pair<K, V>, TreeMap<K, V>> TreeMap.factory
(Comparator<? super K> ordering, KeyFunction<K, V> keyFunction) DerivedKeyHashMap.iterator()
HashMap.iterator()
TreeMap.iterator()
private KeyFunction
<K, Pair<K, V>> HashMap.keyFunction()
Methods in com.github.andrewoma.dexx.collection with parameters of type PairModifier and TypeMethodDescriptionprivate static <K,
V> Map <K, V> private static <K extends Comparable<? super K>,
V>
SortedMap<K, V> private static <K,
V> SortedMap <K, V> SortedMaps.construct
(Comparator<? super K> comparator, Pair<K, V>... pairs) static <K,
V> @NotNull Map <K, V> static <K extends Comparable<? super K>,
V>
@NotNull SortedMap<K, V> static <K,
V> @NotNull SortedMap <K, V> SortedMaps.copyOf
(Comparator<? super K> comparator, Pair<K, V>[] pairs) Method parameters in com.github.andrewoma.dexx.collection with type arguments of type PairModifier and TypeMethodDescriptionstatic <K,
V> @NotNull Map <K, V> static <K,
V> @NotNull Map <K, V> static <K extends Comparable<? super K>,
V>
@NotNull SortedMap<K, V> static <K,
V> @NotNull SortedMap <K, V> SortedMaps.copyOf
(Comparator<? super K> comparator, Iterable<Pair<K, V>> iterable) static <K,
V> @NotNull SortedMap <K, V> SortedMaps.copyOf
(Comparator<? super K> comparator, Iterator<Pair<K, V>> iterator) static <K extends Comparable<? super K>,
V>
@NotNull SortedMap<K, V> static <K,
V> @NotNull Map <K, V> Maps.copyOfTraversable
(Traversable<Pair<K, V>> traversable) static <K extends Comparable<? super K>,
V>
@NotNull SortedMap<K, V> SortedMaps.copyOfTraversable
(Traversable<Pair<K, V>> traversable) static <K,
V> @NotNull SortedMap <K, V> SortedMaps.copyOfTraversable
(Comparator<? super K> comparator, Traversable<Pair<K, V>> traversable) <U> void
<U> void
<U> void
Constructor parameters in com.github.andrewoma.dexx.collection with type arguments of type Pair -
Uses of Pair in com.github.andrewoma.dexx.collection.internal.hashmap
Fields in com.github.andrewoma.dexx.collection.internal.hashmap declared as PairFields in com.github.andrewoma.dexx.collection.internal.hashmap with type parameters of type PairMethods in com.github.andrewoma.dexx.collection.internal.hashmap that return PairModifier and TypeMethodDescriptionHashMap1.ensureKv()
CompactHashMapIterator.next()
ListMapIterator.next()
Methods in com.github.andrewoma.dexx.collection.internal.hashmap that return types with arguments of type PairModifier and TypeMethodDescriptionstatic <K,
V> @NotNull BuilderFactory <Pair<K, V>, ListMap<K, V>> ListMap.factory()
CompactHashMap.iterator
(KeyFunction<K, V> kf) HashMap1.iterator
(KeyFunction<K, V> kf) HashMapCollision1.iterator
(KeyFunction<K, V> kf) HashTrieMap.iterator
(KeyFunction<K, V> kf) ListMap.iterator()
Methods in com.github.andrewoma.dexx.collection.internal.hashmap with parameters of type PairModifier and TypeMethodDescriptionprotected 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> 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) Method parameters in com.github.andrewoma.dexx.collection.internal.hashmap with type arguments of type PairModifier and TypeMethodDescription<U> void
<U> void
<U> void
<U> void
<U> void
Constructors in com.github.andrewoma.dexx.collection.internal.hashmap with parameters of type Pair -
Uses of Pair in com.github.andrewoma.dexx.collection.internal.redblack
Methods in com.github.andrewoma.dexx.collection.internal.redblack that return PairMethods in com.github.andrewoma.dexx.collection.internal.redblack that return types with arguments of type PairMethod parameters in com.github.andrewoma.dexx.collection.internal.redblack with type arguments of type Pair