Uses of Interface
org.eclipse.collections.api.tuple.Pair
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for Bag API.
This package contains interfaces for SortedBag API.
This package contains interfaces for BiMap API.
This package contains interfaces for list API which enhance the performance and functionality of
List
.This package contains interfaces for map API which enhance the performance and functionality of
Map
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
This package contains mutable and immutable sorted map interfaces.
This package contains interfaces for
Multimap
.This package contains interfaces for
BagMultimap
.This package contains interfaces for
ListMultimap
.This package contains interfaces for
SetMultimap
.This package contains interfaces for
SortedBagMultimap
.This package contains interfaces for
SortedSetMultimap
.This package contains interfaces for set API which enhance the performance and functionality of
Set
.This package contains interfaces for sorted set API.
This package contains interfaces for stack API.
This package contains implementations for Eclipse Collections API.
This package contains implementations of the
ImmutableBag
interface.This package contains implementations of the
MutableBag
interface.This package contains implementations of
MutableSortedBag
.This package contains implementations of the
MutableBiMap
interface.This package contains factory implementations for
Function
, Predicate
, SerializableComparator
and Procedure
.This package contains implementations of
Predicate
and Predicate2
.This package contains implementations of
Procedure
and Procedure2
.This package contains implementations of the
MutableCollection
interface.This package contains static utilities for creating mutable and immutable collection factories.
This package contains implementations of the
LazyIterable
interface.This package contains implementations of the
Iterator
interface.This package contains implementations of the
MutableList
interface.This package contains implementations of the
MapIterable
interface.This package contains implementations of the
ImmutableMap
interface.This package contains implementations of the
MutableMap
interface.This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.
This package contains implementations of the
MutableSortedMap
interface.This package contains implementations of the
MutableSortedMap
interface.This package contains immutable map implementations backed by hashtables that rely on
HashingStrategy
s provided by
the developer to compute the hashCode and equals for the objects stored in the map.This package contains mutable map implementations backed by hashtables that rely on
HashingStrategy
s provided by
the developer to compute the hashCode and equals for the objects stored in the map.This package contains implementations of the
Multimap
interface.This package contains implementations of the
BagMultimap
interface.This package contains implementations of the
ListMultimap
interface.This package contains implementations of the
SetMultimap
interface.This package contains implementations of the
SortedSetMultimap
interface.This package contains implementations of the
SetMultimap
interface which use a set with user-defined HashingStrategy
as their underlying store for the multiple values of a given key.This package contains the implementations of
ImmutableSet
.This package contains implementations of
MutableSet
.This package contains implementations of
MutableSortedSet
.This package contains implementations of the
MutableStack
interface.This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections.
-
Uses of Pair in org.eclipse.collections.api
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<T, S>>>
RDeprecated.in 6.0.<R extends Collection<Pair<T,
Integer>>>
RRichIterable.zipWithIndex
(R target) Deprecated.in 6.0.Modifier and TypeMethodDescription<S> LazyIterable<Pair<T,
S>> Creates a deferred zip iterable.<S> RichIterable<Pair<T,
S>> Deprecated.in 6.0.LazyIterable.zipWithIndex()
Creates a deferred zipWithIndex iterable.RichIterable.zipWithIndex()
Deprecated.in 6.0. -
Uses of Pair in org.eclipse.collections.api.bag
Modifier and TypeMethodDescription<S> ImmutableBag<Pair<T,
S>> Deprecated.in 6.0.<S> MutableBag<Pair<T,
S>> Deprecated.in 6.0.<S> UnsortedBag<Pair<T,
S>> Deprecated.in 6.0.Bag.zipWithIndex()
ImmutableBag.zipWithIndex()
Deprecated.in 6.0.ImmutableBagIterable.zipWithIndex()
MutableBag.zipWithIndex()
Deprecated.in 6.0.MutableBagIterable.zipWithIndex()
UnsortedBag.zipWithIndex()
Deprecated.in 6.0. -
Uses of Pair in org.eclipse.collections.api.bag.sorted
Modifier and TypeMethodDescription<S> ImmutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> ImmutableSortedBag.zipWithIndex()
MutableSortedBag.zipWithIndex()
SortedBag.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.api.bimap
Modifier and TypeMethodDescription<S> SetIterable<Pair<V,
S>> Deprecated.in 8.0.<S> ImmutableSet<Pair<V,
S>> Deprecated.in 8.0.<S> MutableSet<Pair<V,
S>> Deprecated.in 8.0.BiMap.zipWithIndex()
Deprecated.in 8.0.ImmutableBiMap.zipWithIndex()
Deprecated.in 8.0.MutableBiMap.zipWithIndex()
Deprecated.in 8.0.Modifier and TypeMethodDescriptionImmutableBiMap.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) MutableBiMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Modifier and TypeMethodDescription<K2,
V2> BiMap<K2, V2> For each key and value of the map the function is evaluated.<K2,
V2> ImmutableBiMap<K2, V2> <K2,
V2> MutableBiMap<K2, V2> ImmutableBiMap.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) MutableBiMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) -
Uses of Pair in org.eclipse.collections.api.collection
Modifier and TypeMethodDescription<S> ImmutableCollection<Pair<T,
S>> <S> MutableCollection<Pair<T,
S>> Deprecated.in 6.0.ImmutableCollection.zipWithIndex()
MutableCollection.zipWithIndex()
Deprecated.in 6.0. -
Uses of Pair in org.eclipse.collections.api.list
Modifier and TypeMethodDescription<S> ImmutableList<Pair<T,
S>> <S> ListIterable<Pair<T,
S>> <S> MutableList<Pair<T,
S>> ImmutableList.zipWithIndex()
ListIterable.zipWithIndex()
MutableList.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.api.map
Modifier and TypeMethodDescriptionMapIterable.detect
(Predicate2<? super K, ? super V> predicate) Return the first key and value of the map for which the predicate evaluates to true when they are given as arguments.Modifier and TypeMethodDescriptionMapIterable.detectOptional
(Predicate2<? super K, ? super V> predicate) Return the first key and value of the map as an Optional for which the predicate evaluates to true when they are given as arguments.RichIterable<Pair<K,
V>> MapIterable.keyValuesView()
Returns an unmodifiable lazy iterable of key/value pairs wrapped around the entrySet for the map.<S> ImmutableBag<Pair<V,
S>> Deprecated.in 6.0.<S> ImmutableCollection<Pair<V,
S>> <S> ImmutableList<Pair<V,
S>> <S> MutableBag<Pair<V,
S>> Deprecated.in 6.0.<S> MutableCollection<Pair<V,
S>> <S> MutableList<Pair<V,
S>> <S> ListIterable<Pair<V,
S>> Deprecated.in 6.0.ImmutableMap.zipWithIndex()
Deprecated.in 6.0.ImmutableMapIterable.zipWithIndex()
ImmutableOrderedMap.zipWithIndex()
MutableMap.zipWithIndex()
Deprecated.in 6.0.MutableMapIterable.zipWithIndex()
MutableOrderedMap.zipWithIndex()
OrderedMap.zipWithIndex()
UnsortedMapIterable.zipWithIndex()
Deprecated.in 6.0.Modifier and TypeMethodDescriptiondefault V
This method allows mutable map the ability to add an element in the form ofPair<? extends K, ? extends V>
.ImmutableMap.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) ImmutableMapIterable.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) default V
This method allows mutable map the ability to add an element in the form ofPair<? extends K, ? extends V>
.MutableMap<K,
V> MutableMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) MutableMapIterable.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Convenience var-args version of withAllKeyValuesMutableOrderedMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Modifier and TypeMethodDescription<K2,
V2> ImmutableMap<K2, V2> <K2,
V2> ImmutableMapIterable<K2, V2> <K2,
V2> ImmutableOrderedMap<K2, V2> <K2,
V2> MapIterable<K2, V2> For each key and value of the map the function is evaluated.<K2,
V2> MutableMap<K2, V2> <K2,
V2> MutableMapIterable<K2, V2> <K2,
V2> MutableOrderedMap<K2, V2> <K2,
V2> OrderedMap<K2, V2> <K2,
V2> UnsortedMapIterable<K2, V2> ImmutableMap.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) ImmutableMapIterable.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) MutableMap<K,
V> MutableMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) MutableMapIterable.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) This method allows mutable, fixed size, and immutable maps the ability to add elements to their existing elements.MutableOrderedMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) -
Uses of Pair in org.eclipse.collections.api.map.primitive
Modifier and TypeMethodDescription<S> ImmutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.Deprecated.in 6.0.ImmutablePrimitiveObjectMap.zipWithIndex()
Deprecated.in 7.0.MutablePrimitiveObjectMap.zipWithIndex()
Deprecated.in 7.0.PrimitiveObjectMap.zipWithIndex()
Deprecated.in 6.0. -
Uses of Pair in org.eclipse.collections.api.map.sorted
Modifier and TypeMethodDescription<S> ImmutableList<Pair<V,
S>> <S> MutableList<Pair<V,
S>> <S> ListIterable<Pair<V,
S>> ImmutableSortedMap.zipWithIndex()
MutableSortedMap.zipWithIndex()
SortedMapIterable.zipWithIndex()
Modifier and TypeMethodDescriptionImmutableSortedMap.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) default MutableSortedMap<K,
V> Deprecated.in 6.0 UseMutableSortedMap.withAllKeyValueArguments(Pair[])
instead.MutableSortedMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Modifier and TypeMethodDescription<K2,
V2> ImmutableMap<K2, V2> <K2,
V2> MutableMap<K2, V2> <K2,
V2> UnsortedMapIterable<K2, V2> ImmutableSortedMap.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) MutableSortedMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) -
Uses of Pair in org.eclipse.collections.api.multimap
Modifier and TypeMethodDescriptionMultimap.keyMultiValuePairsView()
Returns a lazy view of the pair of a key and a lazy view of the values mapped to that key.RichIterable<Pair<K,
V>> Multimap.keyValuePairsView()
Returns a lazy view of all the key/value pairs.Modifier and TypeMethodDescriptiondefault boolean
Modification operation similar to put, however, takes the key-value pair as the input.default boolean
MutableMultimap.putAllPairs
(Pair<? extends K, ? extends V>... pairs) Modifier and TypeMethodDescription<K2,
V2> ImmutableMultimap<K2, V2> ImmutableMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> Multimap<K2, V2> Multimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) Returns a new multimap with the results of applying the specified function on each key and value of the source multimap.<K2,
V2, R extends MutableMultimap<K2, V2>>
RMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function, R target) Same as the collect method but uses the specified target multimap for the results.<K2,
V2> MutableMultimap<K2, V2> MutableMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) default boolean
MutableMultimap.putAllPairs
(Iterable<? extends Pair<? extends K, ? extends V>> pairs) -
Uses of Pair in org.eclipse.collections.api.multimap.bag
Modifier and TypeMethodDescription<K2,
V2> ImmutableBagIterableMultimap<K2, V2> ImmutableBagIterableMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> ImmutableBagMultimap<K2, V2> ImmutableBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagIterableMultimap<K2, V2> MutableBagIterableMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagMultimap<K2, V2> MutableBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> UnsortedBagMultimap<K2, V2> UnsortedBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) -
Uses of Pair in org.eclipse.collections.api.multimap.list
Modifier and TypeMethodDescription<K2,
V2> ImmutableBagMultimap<K2, V2> ImmutableListMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> BagMultimap<K2, V2> ListMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagMultimap<K2, V2> MutableListMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) -
Uses of Pair in org.eclipse.collections.api.multimap.ordered
Modifier and TypeMethodDescription<K2,
V2> BagMultimap<K2, V2> OrderedIterableMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) -
Uses of Pair in org.eclipse.collections.api.multimap.set
Modifier and TypeMethodDescription<K2,
V2> ImmutableBagIterableMultimap<K2, V2> ImmutableSetIterableMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> ImmutableBagMultimap<K2, V2> ImmutableSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagIterableMultimap<K2, V2> MutableSetIterableMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagMultimap<K2, V2> MutableSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> UnsortedBagMultimap<K2, V2> UnsortedSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) -
Uses of Pair in org.eclipse.collections.api.multimap.sortedbag
Modifier and TypeMethodDescription<K2,
V2> ImmutableBagMultimap<K2, V2> ImmutableSortedBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagMultimap<K2, V2> MutableSortedBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> BagMultimap<K2, V2> SortedBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) -
Uses of Pair in org.eclipse.collections.api.multimap.sortedset
Modifier and TypeMethodDescription<K2,
V2> ImmutableBagMultimap<K2, V2> ImmutableSortedSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagMultimap<K2, V2> MutableSortedSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> BagMultimap<K2, V2> SortedSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) -
Uses of Pair in org.eclipse.collections.api.ordered
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<T, S>>>
RSame asOrderedIterable.zip(Iterable)
but usestarget
for output.<R extends Collection<Pair<T,
Integer>>>
ROrderedIterable.zipWithIndex
(R target) Same asOrderedIterable.zipWithIndex()
but usestarget
for output.Modifier and TypeMethodDescription<S> OrderedIterable<Pair<T,
S>> Returns aOrderedIterable
formed from thisOrderedIterable
and anotherIterable
by combining corresponding elements in pairs.<S> ReversibleIterable<Pair<T,
S>> <S> ListIterable<Pair<T,
S>> OrderedIterable.zipWithIndex()
ReversibleIterable.zipWithIndex()
SortedIterable.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.api.set
Modifier and TypeMethodDescription<B> LazyIterable<Pair<T,
B>> SetIterable.cartesianProduct
(SetIterable<B> set) Returns the set whose members are all possible ordered pairs (a, b) where a is a member ofthis
and b is a member ofset
.<S> ImmutableSet<Pair<T,
S>> Deprecated.in 6.0.<S> MutableSet<Pair<T,
S>> Deprecated.in 6.0.<S> MutableCollection<Pair<T,
S>> Deprecated.in 6.0.<S> UnsortedSetIterable<Pair<T,
S>> Deprecated.in 6.0.ImmutableSet.zipWithIndex()
Deprecated.in 6.0.ImmutableSetIterable.zipWithIndex()
Deprecated.in 6.0.MutableSet.zipWithIndex()
Deprecated.in 6.0.MutableSetIterable.zipWithIndex()
Deprecated.in 6.0.SetIterable.zipWithIndex()
Deprecated.in 6.0.UnsortedSetIterable.zipWithIndex()
Deprecated.in 6.0. -
Uses of Pair in org.eclipse.collections.api.set.sorted
Modifier and TypeMethodDescription<S> ImmutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> ImmutableSortedSet.zipWithIndex()
MutableSortedSet.zipWithIndex()
SortedSetIterable.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.api.stack
Modifier and TypeMethodDescriptiondefault Pair<T,
ImmutableStack<T>> ImmutableStack.peekAndPop()
default Pair<ListIterable<T>,
ImmutableStack<T>> ImmutableStack.peekAndPop
(int count) Modifier and TypeMethodDescription<S> ImmutableStack<Pair<T,
S>> <S> MutableStack<Pair<T,
S>> <S> StackIterable<Pair<T,
S>> ImmutableStack.zipWithIndex()
MutableStack.zipWithIndex()
StackIterable.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.api.tuple
Modifier and TypeInterfaceDescriptioninterface
Twin<T>
A Twin is a Pair where both elements have the same type. -
Uses of Pair in org.eclipse.collections.impl
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<T, S>>>
R<S,
R extends Collection<Pair<T, S>>>
R<R extends Collection<Pair<T,
Integer>>>
RAbstractRichIterable.zipWithIndex
(R target) <R extends Collection<Pair<T,
Integer>>>
RUnmodifiableRichIterable.zipWithIndex
(R target) Modifier and TypeMethodDescription<S> RichIterable<Pair<T,
S>> UnmodifiableRichIterable.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.impl.bag.immutable
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<T, S>>>
R<R extends Collection<Pair<T,
Integer>>>
RImmutableHashBag.zipWithIndex
(R target) Modifier and TypeMethodDescription<S> ImmutableBag<Pair<T,
S>> Deprecated.in 6.0.<S> ImmutableBag<Pair<T,
S>> Deprecated.in 6.0.ImmutableArrayBag.zipWithIndex()
Deprecated.in 6.0.ImmutableHashBag.zipWithIndex()
Deprecated.in 6.0. -
Uses of Pair in org.eclipse.collections.impl.bag.mutable
Modifier and TypeMethodDescription<S> MutableBag<Pair<T,
S>> Deprecated.in 6.0.<S> MutableBag<Pair<T,
S>> Deprecated.in 6.0.<S> MutableBag<Pair<T,
S>> Deprecated.in 6.0.<S> MutableBag<Pair<T,
S>> Deprecated.in 6.0.AbstractMutableBag.zipWithIndex()
Deprecated.in 6.0.MultiReaderHashBag.zipWithIndex()
Deprecated.in 6.0.SynchronizedBag.zipWithIndex()
Deprecated.in 6.0.UnmodifiableBag.zipWithIndex()
Deprecated.in 6.0. -
Uses of Pair in org.eclipse.collections.impl.bag.sorted.mutable
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<T, S>>>
R<R extends Collection<Pair<T,
Integer>>>
RUnmodifiableSortedBag.zipWithIndex
(R target) Modifier and TypeMethodDescription<S> MutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> SynchronizedSortedBag.zipWithIndex()
TreeBag.zipWithIndex()
UnmodifiableSortedBag.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.impl.bimap
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<V, S>>>
RDeprecated.in 8.0.<R extends Collection<Pair<V,
Integer>>>
RAbstractBiMap.zipWithIndex
(R target) Deprecated.in 8.0.Modifier and TypeMethodDescriptionAbstractBiMap.detect
(Predicate2<? super K, ? super V> predicate) Modifier and TypeMethodDescriptionAbstractBiMap.detectOptional
(Predicate2<? super K, ? super V> predicate) RichIterable<Pair<K,
V>> AbstractBiMap.keyValuesView()
-
Uses of Pair in org.eclipse.collections.impl.bimap.immutable
Modifier and TypeMethodDescription<S> ImmutableSet<Pair<V,
S>> Deprecated.in 8.0.AbstractImmutableBiMap.zipWithIndex()
Deprecated.in 8.0.Modifier and TypeMethodDescriptionAbstractImmutableBiMap.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Modifier and TypeMethodDescription<K2,
V2> ImmutableBiMap<K2, V2> AbstractImmutableBiMap.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) -
Uses of Pair in org.eclipse.collections.impl.bimap.mutable
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<V, S>>>
R<R extends Collection<Pair<V,
Integer>>>
RUnmodifiableBiMap.zipWithIndex
(R target) Modifier and TypeMethodDescriptionUnmodifiableBiMap.detect
(Predicate2<? super K, ? super V> predicate) Modifier and TypeMethodDescriptionUnmodifiableBiMap.detectOptional
(Predicate2<? super K, ? super V> predicate) RichIterable<Pair<K,
V>> UnmodifiableBiMap.keyValuesView()
<S> MutableSet<Pair<V,
S>> Deprecated.in 8.0.<S> MutableSet<Pair<V,
S>> SynchronizedBiMap.zipWithIndex()
Deprecated.in 8.0.UnmodifiableBiMap.zipWithIndex()
Modifier and TypeMethodDescriptionSynchronizedBiMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) UnmodifiableBiMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Modifier and TypeMethodDescription<K2,
V2> MutableBiMap<K2, V2> <K2,
V2> MutableBiMap<K2, V2> SynchronizedBiMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) UnmodifiableBiMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) -
Uses of Pair in org.eclipse.collections.impl.block.factory
Modifier and TypeMethodDescriptionstatic <T> SerializableComparator<Pair<T,
?>> Comparators.byFirstOfPair
(Comparator<? super T> comparator) Creates a comparator for pairs by using an existing comparator that only compares the first element of the pairstatic <T> SerializableComparator<Pair<?,
T>> Comparators.bySecondOfPair
(Comparator<? super T> comparator) Creates a comparator for pairs by using an existing comparator that only compares the second element of the pairFunctions.firstOfPair()
Functions.secondOfPair()
Functions.swappedPair()
Swap the input pair and return the swapped pair.Functions.swappedPair()
Swap the input pair and return the swapped pair. -
Uses of Pair in org.eclipse.collections.impl.block.predicate
-
Uses of Pair in org.eclipse.collections.impl.block.procedure
Modifier and TypeClassDescriptionfinal class
ZipWithIndexProcedure<T,
R extends Collection<Pair<T, Integer>>> Creates a PairImpl of objects and their indexes and adds the result to a target collection.Modifier and TypeMethodDescriptionstatic <TT,
RR extends Collection<Pair<TT, Integer>>>
ZipWithIndexProcedure<TT,RR> ZipWithIndexProcedure.create
(RR target) -
Uses of Pair in org.eclipse.collections.impl.collection
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<T, S>>>
R<R extends Collection<Pair<T,
Integer>>>
RAbstractSynchronizedRichIterable.zipWithIndex
(R target) Modifier and TypeMethodDescription<S> RichIterable<Pair<T,
S>> AbstractSynchronizedRichIterable.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.impl.collection.mutable
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<T, S>>>
R<S,
R extends Collection<Pair<T, S>>>
R<S,
R extends Collection<Pair<T, S>>>
R<R extends Collection<Pair<T,
Integer>>>
RAbstractCollectionAdapter.zipWithIndex
(R target) <R extends Collection<Pair<T,
Integer>>>
RAbstractMultiReaderMutableCollection.zipWithIndex
(R target) <R extends Collection<Pair<T,
Integer>>>
RAbstractUnmodifiableMutableCollection.zipWithIndex
(R target) Modifier and TypeMethodDescription<S> MutableCollection<Pair<T,
S>> <S> MutableCollection<Pair<T,
S>> <S> MutableCollection<Pair<T,
S>> AbstractCollectionAdapter.zipWithIndex()
AbstractSynchronizedMutableCollection.zipWithIndex()
AbstractUnmodifiableMutableCollection.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.impl.collector
Modifier and TypeMethodDescriptionstatic <T,
S> Collector<T, ?, MutableList<Pair<T, S>>> Returns aMutableList
formed from this stream of elements and anotherIterable
by combining corresponding elements in pairs. -
Uses of Pair in org.eclipse.collections.impl.factory
Modifier and TypeMethodDescriptionstatic <A,
B> LazyIterable<Pair<A, B>> Sets.cartesianProduct
(Set<A> set1, Set<B> set2) -
Uses of Pair in org.eclipse.collections.impl.lazy
Modifier and TypeMethodDescriptionZipIterable.iterator()
ZipWithIndexIterable.iterator()
<S> LazyIterable<Pair<T,
S>> AbstractLazyIterable.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.impl.lazy.iterator
-
Uses of Pair in org.eclipse.collections.impl.list.mutable
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<T, S>>>
R<R extends Collection<Pair<T,
Integer>>>
RAbstractMutableList.zipWithIndex
(R target) Modifier and TypeMethodDescription<S> MutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> AbstractListAdapter.zipWithIndex()
AbstractMutableList.zipWithIndex()
ArrayListAdapter.zipWithIndex()
MultiReaderFastList.zipWithIndex()
RandomAccessListAdapter.zipWithIndex()
SynchronizedMutableList.zipWithIndex()
UnmodifiableMutableList.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.impl.map
Modifier and TypeMethodDescriptionAbstractSynchronizedMapIterable.detect
(Predicate2<? super K, ? super V> predicate) Modifier and TypeMethodDescriptionAbstractSynchronizedMapIterable.detectOptional
(Predicate2<? super K, ? super V> predicate) RichIterable<Pair<K,
V>> AbstractSynchronizedMapIterable.keyValuesView()
<S> MutableCollection<Pair<V,
S>> AbstractSynchronizedMapIterable.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.impl.map.immutable
Modifier and TypeMethodDescriptionAbstractImmutableMap.detect
(Predicate2<? super K, ? super V> predicate) Modifier and TypeMethodDescriptionAbstractImmutableMap.detectOptional
(Predicate2<? super K, ? super V> predicate) RichIterable<Pair<K,
V>> ImmutableUnifiedMap.keyValuesView()
<S> ImmutableBag<Pair<V,
S>> Deprecated.in 6.0.AbstractImmutableMap.zipWithIndex()
Deprecated.in 6.0.Modifier and TypeMethodDescriptionAbstractImmutableMap.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Modifier and TypeMethodDescription<K2,
V2> ImmutableMap<K2, V2> AbstractImmutableMap.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) -
Uses of Pair in org.eclipse.collections.impl.map.mutable
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<V, S>>>
R<R extends Collection<Pair<V,
Integer>>>
RUnmodifiableMutableMap.zipWithIndex
(R target) Modifier and TypeMethodDescriptionAbstractMutableMapIterable.detect
(Predicate2<? super K, ? super V> predicate) UnifiedMap.detect
(Predicate2<? super K, ? super V> predicate) UnmodifiableMutableMap.detect
(Predicate2<? super K, ? super V> predicate) Modifier and TypeMethodDescriptionAbstractMutableMapIterable.detectOptional
(Predicate2<? super K, ? super V> predicate) UnifiedMap.detectOptional
(Predicate2<? super K, ? super V> predicate) UnmodifiableMutableMap.detectOptional
(Predicate2<? super K, ? super V> predicate) RichIterable<Pair<K,
V>> AbstractMutableMapIterable.keyValuesView()
RichIterable<Pair<K,
V>> UnmodifiableMutableMap.keyValuesView()
<S> MutableBag<Pair<V,
S>> Deprecated.in 6.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 6.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 6.0.AbstractMutableMap.zipWithIndex()
Deprecated.in 6.0.SynchronizedMutableMap.zipWithIndex()
Deprecated.in 6.0.UnmodifiableMutableMap.zipWithIndex()
Deprecated.in 6.0.Modifier and TypeMethodDescriptionstatic <K,
V> UnifiedMap<K, V> UnifiedMap.newMapWith
(Pair<K, V>... pairs) MutableMap<K,
V> AbstractMutableMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValues) ConcurrentHashMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValues) ConcurrentHashMapUnsafe.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValues) ConcurrentMutableHashMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValues) Deprecated.MutableMap<K,
V> SynchronizedMutableMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) MutableMap<K,
V> UnmodifiableMutableMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Modifier and TypeMethodDescription<K2,
V2> MutableMap<K2, V2> <K2,
V2> MutableMap<K2, V2> <K2,
V2> MutableMap<K2, V2> static <K,
V> UnifiedMap<K, V> UnifiedMap.newMapWith
(Iterable<Pair<K, V>> inputIterable) MutableMap<K,
V> AbstractMutableMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) ConcurrentHashMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) ConcurrentHashMapUnsafe.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) ConcurrentMutableHashMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) Deprecated.MutableMap<K,
V> SynchronizedMutableMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) MutableMap<K,
V> UnmodifiableMutableMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) -
Uses of Pair in org.eclipse.collections.impl.map.mutable.primitive
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<S,
R extends Collection<Pair<V, S>>>
R<R extends Collection<Pair<V,
Integer>>>
RByteObjectHashMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RCharObjectHashMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RDoubleObjectHashMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RFloatObjectHashMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RIntObjectHashMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RLongObjectHashMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RShortObjectHashMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RSynchronizedByteObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RSynchronizedCharObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RSynchronizedDoubleObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RSynchronizedFloatObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RSynchronizedIntObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RSynchronizedLongObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RSynchronizedShortObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RUnmodifiableByteObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RUnmodifiableCharObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RUnmodifiableDoubleObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RUnmodifiableFloatObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RUnmodifiableIntObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RUnmodifiableLongObjectMap.zipWithIndex
(R target) <R extends Collection<Pair<V,
Integer>>>
RUnmodifiableShortObjectMap.zipWithIndex
(R target) Modifier and TypeMethodDescription<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.<S> MutableBag<Pair<V,
S>> Deprecated.in 7.0.ByteObjectHashMap.zipWithIndex()
Deprecated.in 7.0.CharObjectHashMap.zipWithIndex()
Deprecated.in 7.0.DoubleObjectHashMap.zipWithIndex()
Deprecated.in 7.0.FloatObjectHashMap.zipWithIndex()
Deprecated.in 7.0.IntObjectHashMap.zipWithIndex()
Deprecated.in 7.0.LongObjectHashMap.zipWithIndex()
Deprecated.in 7.0.ShortObjectHashMap.zipWithIndex()
Deprecated.in 7.0.SynchronizedByteObjectMap.zipWithIndex()
Deprecated.in 7.0.SynchronizedCharObjectMap.zipWithIndex()
Deprecated.in 7.0.SynchronizedDoubleObjectMap.zipWithIndex()
Deprecated.in 7.0.SynchronizedFloatObjectMap.zipWithIndex()
Deprecated.in 7.0.SynchronizedIntObjectMap.zipWithIndex()
Deprecated.in 7.0.SynchronizedLongObjectMap.zipWithIndex()
Deprecated.in 7.0.SynchronizedShortObjectMap.zipWithIndex()
Deprecated.in 7.0.UnmodifiableByteObjectMap.zipWithIndex()
Deprecated.in 7.0.UnmodifiableCharObjectMap.zipWithIndex()
Deprecated.in 7.0.UnmodifiableDoubleObjectMap.zipWithIndex()
Deprecated.in 7.0.UnmodifiableFloatObjectMap.zipWithIndex()
Deprecated.in 7.0.UnmodifiableIntObjectMap.zipWithIndex()
Deprecated.in 7.0.UnmodifiableLongObjectMap.zipWithIndex()
Deprecated.in 7.0.UnmodifiableShortObjectMap.zipWithIndex()
Deprecated.in 7.0. -
Uses of Pair in org.eclipse.collections.impl.map.ordered.mutable
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<V, S>>>
R<R extends Collection<Pair<V,
Integer>>>
RUnmodifiableMutableOrderedMap.zipWithIndex
(R target) Modifier and TypeMethodDescriptionOrderedMapAdapter.detect
(Predicate2<? super K, ? super V> predicate) UnmodifiableMutableOrderedMap.detect
(Predicate2<? super K, ? super V> predicate) Modifier and TypeMethodDescriptionOrderedMapAdapter.detectOptional
(Predicate2<? super K, ? super V> predicate) UnmodifiableMutableOrderedMap.detectOptional
(Predicate2<? super K, ? super V> predicate) RichIterable<Pair<K,
V>> OrderedMapAdapter.keyValuesView()
RichIterable<Pair<K,
V>> UnmodifiableMutableOrderedMap.keyValuesView()
<S> MutableList<Pair<V,
S>> <S> MutableList<Pair<V,
S>> OrderedMapAdapter.zipWithIndex()
UnmodifiableMutableOrderedMap.zipWithIndex()
Modifier and TypeMethodDescriptionOrderedMapAdapter.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValues) UnmodifiableMutableOrderedMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Modifier and TypeMethodDescription<K2,
V2> MutableOrderedMap<K2, V2> <K2,
V2> MutableOrderedMap<K2, V2> OrderedMapAdapter.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) UnmodifiableMutableOrderedMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) -
Uses of Pair in org.eclipse.collections.impl.map.sorted.immutable
Modifier and TypeMethodDescriptionAbstractImmutableSortedMap.detect
(Predicate2<? super K, ? super V> predicate) Modifier and TypeMethodDescriptionAbstractImmutableSortedMap.detectOptional
(Predicate2<? super K, ? super V> predicate) RichIterable<Pair<K,
V>> ImmutableTreeMap.keyValuesView()
<S> ImmutableList<Pair<V,
S>> AbstractImmutableSortedMap.zipWithIndex()
Modifier and TypeMethodDescriptionAbstractImmutableSortedMap.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Modifier and TypeMethodDescription<K2,
V2> ImmutableMap<K2, V2> AbstractImmutableSortedMap.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) -
Uses of Pair in org.eclipse.collections.impl.map.sorted.mutable
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<V, S>>>
R<R extends Collection<Pair<V,
Integer>>>
RUnmodifiableTreeMap.zipWithIndex
(R target) Modifier and TypeMethodDescriptionUnmodifiableTreeMap.detect
(Predicate2<? super K, ? super V> predicate) Modifier and TypeMethodDescriptionUnmodifiableTreeMap.detectOptional
(Predicate2<? super K, ? super V> predicate) RichIterable<Pair<K,
V>> UnmodifiableTreeMap.keyValuesView()
<S> MutableList<Pair<V,
S>> <S> MutableList<Pair<V,
S>> <S> MutableList<Pair<V,
S>> AbstractMutableSortedMap.zipWithIndex()
SynchronizedSortedMap.zipWithIndex()
UnmodifiableTreeMap.zipWithIndex()
Modifier and TypeMethodDescriptionstatic <K,
V> TreeSortedMap<K, V> TreeSortedMap.newMapWith
(Comparator<? super K> comparator, Pair<K, V>... pairs) static <K,
V> TreeSortedMap<K, V> TreeSortedMap.newMapWith
(Pair<K, V>... pairs) Deprecated.in 6.0 UseSynchronizedSortedMap.withAllKeyValueArguments(Pair[])
instead.AbstractMutableSortedMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValues) SynchronizedSortedMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) UnmodifiableTreeMap.withAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Modifier and TypeMethodDescription<K2,
V2> MutableMap<K2, V2> <K2,
V2> MutableMap<K2, V2> AbstractMutableSortedMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) SynchronizedSortedMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) UnmodifiableTreeMap.withAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) -
Uses of Pair in org.eclipse.collections.impl.map.strategy.immutable
Modifier and TypeMethodDescriptionRichIterable<Pair<K,
V>> ImmutableUnifiedMapWithHashingStrategy.keyValuesView()
Modifier and TypeMethodDescriptionImmutableUnifiedMapWithHashingStrategy.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) Modifier and TypeMethodDescriptionImmutableUnifiedMapWithHashingStrategy.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) ModifierConstructorDescriptionImmutableUnifiedMapWithHashingStrategy
(HashingStrategy<? super K> hashingStrategy, Pair<K, V>... pairs) -
Uses of Pair in org.eclipse.collections.impl.map.strategy.mutable
Modifier and TypeMethodDescriptionstatic <K,
V> UnifiedMapWithHashingStrategy<K, V> UnifiedMapWithHashingStrategy.newMapWith
(HashingStrategy<? super K> hashingStrategy, Pair<K, V>... pairs) Modifier and TypeMethodDescriptionstatic <K,
V> UnifiedMapWithHashingStrategy<K, V> UnifiedMapWithHashingStrategy.newMapWith
(HashingStrategy<? super K> hashingStrategy, Iterable<Pair<K, V>> inputIterable) ModifierConstructorDescriptionUnifiedMapWithHashingStrategy
(HashingStrategy<? super K> hashingStrategy, Pair<K, V>... pairs) -
Uses of Pair in org.eclipse.collections.impl.multimap
Modifier and TypeMethodDescriptionAbstractMultimap.keyMultiValuePairsView()
AbstractSynchronizedMultimap.keyMultiValuePairsView()
RichIterable<Pair<K,
V>> AbstractMultimap.keyValuePairsView()
RichIterable<Pair<K,
V>> AbstractSynchronizedMultimap.keyValuePairsView()
Modifier and TypeMethodDescriptionboolean
boolean
AbstractSynchronizedMultimap.putAllPairs
(Pair<? extends K, ? extends V>... pairs) Modifier and TypeMethodDescription<K2,
V2, R extends MutableMultimap<K2, V2>>
RAbstractMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function, R target) <K2,
V2, R extends MutableMultimap<K2, V2>>
RAbstractSynchronizedMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function, R target) boolean
AbstractSynchronizedMultimap.putAllPairs
(Iterable<? extends Pair<? extends K, ? extends V>> pairs) -
Uses of Pair in org.eclipse.collections.impl.multimap.bag
Modifier and TypeMethodDescriptionstatic <K,
V> HashBagMultimap<K, V> HashBagMultimap.newMultimap
(Pair<K, V>... pairs) static <K,
V> MultiReaderHashBagMultimap<K, V> MultiReaderHashBagMultimap.newMultimap
(Pair<K, V>... pairs) static <K,
V> SynchronizedPutHashBagMultimap<K, V> SynchronizedPutHashBagMultimap.newMultimap
(Pair<K, V>... pairs) static <K,
V> TreeBagMultimap<K, V> TreeBagMultimap.newMultimap
(Pair<K, V>... pairs) Deprecated.Modifier and TypeMethodDescription<K2,
V2> HashBagMultimap<K2, V2> AbstractMutableBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> ImmutableBagMultimap<K2, V2> ImmutableBagMultimapImpl.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagMultimap<K2, V2> SynchronizedBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> HashBagMultimap<K2, V2> SynchronizedPutHashBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> HashBagMultimap<K2, V2> TreeBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) Deprecated.static <K,
V> HashBagMultimap<K, V> HashBagMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) static <K,
V> MultiReaderHashBagMultimap<K, V> MultiReaderHashBagMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) static <K,
V> SynchronizedPutHashBagMultimap<K, V> SynchronizedPutHashBagMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) ModifierConstructorDescriptionHashBagMultimap
(Pair<K, V>... pairs) MultiReaderHashBagMultimap
(Pair<K, V>... pairs) SynchronizedPutHashBagMultimap
(Pair<K, V>... pairs) TreeBagMultimap
(Pair<K, V>... pairs) Deprecated.ModifierConstructorDescriptionHashBagMultimap
(Iterable<Pair<K, V>> inputIterable) MultiReaderHashBagMultimap
(Iterable<Pair<K, V>> inputIterable) SynchronizedPutHashBagMultimap
(Iterable<Pair<K, V>> inputIterable) -
Uses of Pair in org.eclipse.collections.impl.multimap.bag.sorted
Modifier and TypeMethodDescriptionstatic <K,
V> TreeBagMultimap<K, V> TreeBagMultimap.newMultimap
(Pair<K, V>... pairs) Deprecated.Modifier and TypeMethodDescription<K2,
V2> HashBagMultimap<K2, V2> TreeBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) Deprecated.static <K,
V> TreeBagMultimap<K, V> TreeBagMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) Deprecated. -
Uses of Pair in org.eclipse.collections.impl.multimap.bag.sorted.immutable
Modifier and TypeMethodDescription<K2,
V2> ImmutableBagMultimap<K2, V2> ImmutableSortedBagMultimapImpl.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) -
Uses of Pair in org.eclipse.collections.impl.multimap.bag.sorted.mutable
Modifier and TypeMethodDescriptionstatic <K,
V> TreeBagMultimap<K, V> TreeBagMultimap.newMultimap
(Pair<K, V>... pairs) Modifier and TypeMethodDescription<K2,
V2> MutableBagMultimap<K2, V2> SynchronizedSortedBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> HashBagMultimap<K2, V2> TreeBagMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) static <K,
V> TreeBagMultimap<K, V> TreeBagMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) -
Uses of Pair in org.eclipse.collections.impl.multimap.bag.strategy
Modifier and TypeMethodDescriptionstatic <K,
V> HashBagMultimapWithHashingStrategy<K, V> HashBagMultimapWithHashingStrategy.newMultimap
(HashingStrategy<? super K> multimapHashingStrategy, Pair<K, V>... pairs) Modifier and TypeMethodDescriptionstatic <K,
V> HashBagMultimapWithHashingStrategy<K, V> HashBagMultimapWithHashingStrategy.newMultimap
(HashingStrategy<? super K> multimapHashingStrategy, Iterable<Pair<K, V>> inputIterable) ModifierConstructorDescriptionHashBagMultimapWithHashingStrategy
(HashingStrategy<? super K> hashingStrategy, Pair<K, V>... pairs) ModifierConstructorDescriptionHashBagMultimapWithHashingStrategy
(HashingStrategy<? super K> hashingStrategy, Iterable<Pair<K, V>> inputIterable) -
Uses of Pair in org.eclipse.collections.impl.multimap.list
Modifier and TypeMethodDescriptionstatic <K,
V> FastListMultimap<K, V> FastListMultimap.newMultimap
(Pair<K, V>... pairs) static <K,
V> MultiReaderFastListMultimap<K, V> MultiReaderFastListMultimap.newMultimap
(Pair<K, V>... pairs) static <K,
V> SynchronizedPutFastListMultimap<K, V> SynchronizedPutFastListMultimap.newMultimap
(Pair<K, V>... pairs) Modifier and TypeMethodDescription<K2,
V2> HashBagMultimap<K2, V2> AbstractMutableListMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> ImmutableBagMultimap<K2, V2> ImmutableListMultimapImpl.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagMultimap<K2, V2> SynchronizedListMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> HashBagMultimap<K2, V2> SynchronizedPutFastListMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) static <K,
V> FastListMultimap<K, V> FastListMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) static <K,
V> MultiReaderFastListMultimap<K, V> MultiReaderFastListMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) static <K,
V> SynchronizedPutFastListMultimap<K, V> SynchronizedPutFastListMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) ModifierConstructorDescriptionFastListMultimap
(Pair<K, V>... pairs) MultiReaderFastListMultimap
(Pair<K, V>... pairs) SynchronizedPutFastListMultimap
(Pair<K, V>... pairs) ModifierConstructorDescriptionFastListMultimap
(Iterable<Pair<K, V>> inputIterable) MultiReaderFastListMultimap
(Iterable<Pair<K, V>> inputIterable) SynchronizedPutFastListMultimap
(Iterable<Pair<K, V>> inputIterable) -
Uses of Pair in org.eclipse.collections.impl.multimap.set
Modifier and TypeMethodDescriptionstatic <K,
V> MultiReaderUnifiedSetMultimap<K, V> MultiReaderUnifiedSetMultimap.newMultimap
(Pair<K, V>... pairs) static <K,
V> SynchronizedPutUnifiedSetMultimap<K, V> SynchronizedPutUnifiedSetMultimap.newMultimap
(Pair<K, V>... pairs) static <K,
V> UnifiedSetMultimap<K, V> UnifiedSetMultimap.newMultimap
(Pair<K, V>... pairs) Modifier and TypeMethodDescription<K2,
V2> MutableBagMultimap<K2, V2> AbstractMutableSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> ImmutableBagMultimap<K2, V2> ImmutableSetMultimapImpl.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagMultimap<K2, V2> SynchronizedPutUnifiedSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagMultimap<K2, V2> SynchronizedSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) static <K,
V> MultiReaderUnifiedSetMultimap<K, V> MultiReaderUnifiedSetMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) static <K,
V> SynchronizedPutUnifiedSetMultimap<K, V> SynchronizedPutUnifiedSetMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) static <K,
V> UnifiedSetMultimap<K, V> UnifiedSetMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) ModifierConstructorDescriptionMultiReaderUnifiedSetMultimap
(Pair<K, V>... pairs) SynchronizedPutUnifiedSetMultimap
(Pair<K, V>... pairs) UnifiedSetMultimap
(Pair<K, V>... pairs) ModifierConstructorDescriptionMultiReaderUnifiedSetMultimap
(Iterable<Pair<K, V>> inputIterable) SynchronizedPutUnifiedSetMultimap
(Iterable<Pair<K, V>> inputIterable) UnifiedSetMultimap
(Iterable<Pair<K, V>> inputIterable) -
Uses of Pair in org.eclipse.collections.impl.multimap.set.sorted
Modifier and TypeMethodDescriptionstatic <K,
V> SynchronizedPutTreeSortedSetMultimap<K, V> SynchronizedPutTreeSortedSetMultimap.newMultimap
(Pair<K, V>... pairs) static <K,
V> TreeSortedSetMultimap<K, V> TreeSortedSetMultimap.newMultimap
(Pair<K, V>... pairs) Modifier and TypeMethodDescription<K2,
V2> ImmutableBagMultimap<K2, V2> ImmutableSortedSetMultimapImpl.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> HashBagMultimap<K2, V2> SynchronizedPutTreeSortedSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> MutableBagMultimap<K2, V2> SynchronizedSortedSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) <K2,
V2> HashBagMultimap<K2, V2> TreeSortedSetMultimap.collectKeysValues
(Function2<? super K, ? super V, Pair<K2, V2>> function) static <K,
V> SynchronizedPutTreeSortedSetMultimap<K, V> SynchronizedPutTreeSortedSetMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) static <K,
V> TreeSortedSetMultimap<K, V> TreeSortedSetMultimap.newMultimap
(Iterable<Pair<K, V>> inputIterable) ModifierConstructorDescriptionSynchronizedPutTreeSortedSetMultimap
(Pair<K, V>... pairs) TreeSortedSetMultimap
(Pair<K, V>... pairs) ModifierConstructorDescriptionSynchronizedPutTreeSortedSetMultimap
(Iterable<Pair<K, V>> inputIterable) TreeSortedSetMultimap
(Iterable<Pair<K, V>> inputIterable) -
Uses of Pair in org.eclipse.collections.impl.multimap.set.strategy
Modifier and TypeMethodDescriptionstatic <K,
V> UnifiedSetWithHashingStrategyMultimap<K, V> UnifiedSetWithHashingStrategyMultimap.newMultimap
(HashingStrategy<? super V> hashingStrategy, Pair<K, V>... pairs) Modifier and TypeMethodDescriptionstatic <K,
V> UnifiedSetWithHashingStrategyMultimap<K, V> UnifiedSetWithHashingStrategyMultimap.newMultimap
(HashingStrategy<? super V> hashingStrategy, Iterable<Pair<K, V>> inputIterable) ModifierConstructorDescriptionUnifiedSetWithHashingStrategyMultimap
(HashingStrategy<? super V> hashingStrategy, Pair<K, V>... pairs) ModifierConstructorDescriptionUnifiedSetWithHashingStrategyMultimap
(HashingStrategy<? super V> hashingStrategy, Iterable<Pair<K, V>> inputIterable) -
Uses of Pair in org.eclipse.collections.impl.set
Modifier and TypeMethodDescription<B> LazyIterable<Pair<T,
B>> AbstractUnifiedSet.cartesianProduct
(SetIterable<B> set) <S> MutableSet<Pair<T,
S>> Deprecated.in 6.0.AbstractUnifiedSet.zipWithIndex()
Deprecated.in 6.0. -
Uses of Pair in org.eclipse.collections.impl.set.immutable
Modifier and TypeMethodDescription<B> LazyIterable<Pair<T,
B>> AbstractImmutableSet.cartesianProduct
(SetIterable<B> set) <S> ImmutableSet<Pair<T,
S>> Deprecated.in 6.0.AbstractImmutableSet.zipWithIndex()
Deprecated.in 6.0. -
Uses of Pair in org.eclipse.collections.impl.set.mutable
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<T, S>>>
R<R extends Collection<Pair<T,
Integer>>>
RUnmodifiableMutableSet.zipWithIndex
(R target) Modifier and TypeMethodDescription<B> LazyIterable<Pair<T,
B>> AbstractMutableSet.cartesianProduct
(SetIterable<B> set) <B> LazyIterable<Pair<T,
B>> MultiReaderUnifiedSet.cartesianProduct
(SetIterable<B> set) <B> LazyIterable<Pair<T,
B>> SetAdapter.cartesianProduct
(SetIterable<B> set) <B> LazyIterable<Pair<T,
B>> SynchronizedMutableSet.cartesianProduct
(SetIterable<B> set) <B> LazyIterable<Pair<T,
B>> UnmodifiableMutableSet.cartesianProduct
(SetIterable<B> set) <S> MutableSet<Pair<T,
S>> Deprecated.in 6.0.<S> MutableSet<Pair<T,
S>> Deprecated.in 6.0.<S> MutableSet<Pair<T,
S>> Deprecated.in 6.0.<S> MutableSet<Pair<T,
S>> Deprecated.in 6.0.<S> MutableSet<Pair<T,
S>> Deprecated.in 6.0.AbstractMutableSet.zipWithIndex()
Deprecated.in 6.0.MultiReaderUnifiedSet.zipWithIndex()
Deprecated.in 6.0.SetAdapter.zipWithIndex()
Deprecated.in 6.0.SynchronizedMutableSet.zipWithIndex()
Deprecated.in 6.0.UnmodifiableMutableSet.zipWithIndex()
Deprecated.in 6.0. -
Uses of Pair in org.eclipse.collections.impl.set.sorted.mutable
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<T, S>>>
R<R extends Collection<Pair<T,
Integer>>>
RUnmodifiableSortedSet.zipWithIndex
(R target) Modifier and TypeMethodDescription<B> LazyIterable<Pair<T,
B>> SortedSetAdapter.cartesianProduct
(SetIterable<B> set) <B> LazyIterable<Pair<T,
B>> SynchronizedSortedSet.cartesianProduct
(SetIterable<B> set) <B> LazyIterable<Pair<T,
B>> TreeSortedSet.cartesianProduct
(SetIterable<B> set) <B> LazyIterable<Pair<T,
B>> UnmodifiableSortedSet.cartesianProduct
(SetIterable<B> set) <S> MutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> <S> MutableList<Pair<T,
S>> SortedSetAdapter.zipWithIndex()
SynchronizedSortedSet.zipWithIndex()
TreeSortedSet.zipWithIndex()
UnmodifiableSortedSet.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.impl.stack.mutable
Modifier and TypeMethodDescription<S,
R extends Collection<Pair<T, S>>>
R<S,
R extends Collection<Pair<T, S>>>
R<S,
R extends Collection<Pair<T, S>>>
R<R extends Collection<Pair<T,
Integer>>>
RArrayStack.zipWithIndex
(R target) <R extends Collection<Pair<T,
Integer>>>
RSynchronizedStack.zipWithIndex
(R target) <R extends Collection<Pair<T,
Integer>>>
RUnmodifiableStack.zipWithIndex
(R target) Modifier and TypeMethodDescription<S> ArrayStack<Pair<T,
S>> <S> MutableStack<Pair<T,
S>> <S> MutableStack<Pair<T,
S>> ArrayStack.zipWithIndex()
SynchronizedStack.zipWithIndex()
UnmodifiableStack.zipWithIndex()
-
Uses of Pair in org.eclipse.collections.impl.tuple
Modifier and TypeMethodDescriptionstatic <T1,
T2> Pair<T1, T2> Tuples.pair
(T1 one, T2 two) static <K,
V> Pair<K, V> Modifier and TypeMethodDescriptionstatic <T> FixedSizeList<T>
Tuples.pairToFixedSizeList
(Pair<T, T> pair) static <T> ImmutableList<T>
Tuples.pairToImmutableList
(Pair<T, T> pair) static <T> MutableList<T>
Tuples.pairToList
(Pair<T, T> pair) -
Uses of Pair in org.eclipse.collections.impl.utility
Modifier and TypeMethodDescriptionstatic <X,
Y, R extends Collection<Pair<X, Y>>>
RArrayIterate.zip
(X[] xs, Y[] ys, R targetCollection) static <X,
Y, R extends Collection<Pair<X, Y>>>
Rstatic <X,
Y, R extends Collection<Pair<X, Y>>>
Rstatic <X,
Y, R extends Collection<Pair<X, Y>>>
Rstatic <T,
R extends Collection<Pair<T, Integer>>>
RArrayIterate.zipWithIndex
(T[] array, R targetCollection) static <T,
R extends Collection<Pair<T, Integer>>>
RArrayListIterate.zipWithIndex
(ArrayList<T> list, R targetCollection) static <T,
R extends Collection<Pair<T, Integer>>>
RIterate.zipWithIndex
(Iterable<T> iterable, R targetCollection) static <T,
R extends Collection<Pair<T, Integer>>>
RListIterate.zipWithIndex
(List<T> list, R target) Modifier and TypeMethodDescriptionstatic <K,
V> Pair<K, V> MapIterate.detect
(Map<K, V> map, Predicate2<? super K, ? super V> predicate) Modifier and TypeMethodDescriptionstatic <A,
B> LazyIterable<Pair<A, B>> LazyIterate.cartesianProduct
(Iterable<A> iterable1, Iterable<B> iterable2) Create a deferred cartesian product of the two specified iterables.MapIterate.detectOptional
(Map<K, V> map, Predicate2<? super K, ? super V> predicate) static <K,
V> MutableList<Pair<K, V>> MapIterate.toListOfPairs
(Map<K, V> map) Iterate over the specified map applying the specified Function to each value and return the results as a List.static <X,
Y> MutableList<Pair<X, Y>> ArrayIterate.zip
(X[] xs, Y[] ys) static <X,
Y> MutableList<Pair<X, Y>> static <X,
Y> Collection<Pair<X, Y>> static <A,
B> LazyIterable<Pair<A, B>> static <X,
Y> MutableList<Pair<X, Y>> static <T> MutableList<Pair<T,
Integer>> ArrayIterate.zipWithIndex
(T... array) static <T> MutableList<Pair<T,
Integer>> ArrayListIterate.zipWithIndex
(ArrayList<T> list) static <T> Collection<Pair<T,
Integer>> Iterate.zipWithIndex
(Iterable<T> iterable) static <T> LazyIterable<Pair<T,
Integer>> LazyIterate.zipWithIndex
(Iterable<T> iterable) static <T> MutableList<Pair<T,
Integer>> ListIterate.zipWithIndex
(List<T> list) Modifier and TypeMethodDescriptionstatic <K,
V, K2, V2>
MutableMap<K2,V2> For each value of the map, the function is evaluated with the key and value as the parameter.static <K1,
V1, K2, V2, R extends Map<K2, V2>>
RFor each value of the map, the function is evaluated with the key and value as the parameter.static <K1,
V1, K2, V2>
MutableMap<K2,V2> MapIterate.collectIf
(Map<K1, V1> map, Function2<? super K1, ? super V1, Pair<K2, V2>> function, Predicate2<? super K1, ? super V1> predicate) For each value of the map, the Predicate2 is evaluated with the key and value as the parameter, and if true, thenfunction
is applied.static <K1,
V1, K2, V2>
MutableMap<K2,V2> MapIterate.collectIf
(Map<K1, V1> map, Function2<? super K1, ? super V1, Pair<K2, V2>> function, Predicate2<? super K1, ? super V1> predicate, Map<K2, V2> target) For each value of the map, the Predicate2 is evaluated with the key and value as the parameter, and if true, thenfunction
is applied. -
Uses of Pair in org.eclipse.collections.impl.utility.internal
Modifier and TypeMethodDescriptionstatic <X,
Y, R extends Collection<Pair<X, Y>>>
Rstatic <X,
Y, R extends Collection<Pair<X, Y>>>
Rstatic <X,
Y, R extends Collection<Pair<X, Y>>>
Rstatic <T,
R extends Collection<Pair<T, Integer>>>
RIterableIterate.zipWithIndex
(Iterable<T> iterable, R target) static <T,
R extends Collection<Pair<T, Integer>>>
RIteratorIterate.zipWithIndex
(Iterator<T> iterator, R target) static <T,
R extends Collection<Pair<T, Integer>>>
RRandomAccessListIterate.zipWithIndex
(List<T> list, R target) Modifier and TypeMethodDescriptionstatic <A,
B> LazyIterable<Pair<A, B>> SetIterables.cartesianProduct
(SetIterable<A> set1, SetIterable<B> set2) static <X,
Y> MutableList<Pair<X, Y>> static <X,
Y> MutableList<Pair<X, Y>> static <T> MutableList<Pair<T,
Integer>> IterableIterate.zipWithIndex
(Iterable<T> iterable) static <T> MutableList<Pair<T,
Integer>> RandomAccessListIterate.zipWithIndex
(List<T> list)