Uses of Interface
org.eclipse.collections.api.tuple.Pair
Packages that use 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
MapThis 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.
-
Uses of Pair in org.eclipse.collections.api
Methods in org.eclipse.collections.api with type parameters of type PairModifier 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.Methods in org.eclipse.collections.api that return types with arguments of type PairModifier 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
Methods in org.eclipse.collections.api.bag that return types with arguments of type PairModifier 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
Methods in org.eclipse.collections.api.bag.sorted that return types with arguments of type PairModifier 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
Methods in org.eclipse.collections.api.bimap that return types with arguments of type PairModifier 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.Methods in org.eclipse.collections.api.bimap with parameters of type PairModifier and TypeMethodDescriptionImmutableBiMap.newWithAllKeyValueArguments(Pair<? extends K, ? extends V>... keyValuePairs) MutableBiMap.withAllKeyValueArguments(Pair<? extends K, ? extends V>... keyValuePairs) Method parameters in org.eclipse.collections.api.bimap with type arguments of type PairModifier 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
Methods in org.eclipse.collections.api.collection that return types with arguments of type PairModifier 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
Methods in org.eclipse.collections.api.list that return types with arguments of type PairModifier 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
Methods in org.eclipse.collections.api.map that return PairModifier 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.Methods in org.eclipse.collections.api.map that return types with arguments of type PairModifier 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.Methods in org.eclipse.collections.api.map with parameters of type PairModifier and TypeMethodDescriptiondefault VThis 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) ImmutableOrderedMap.newWithAllKeyValueArguments(Pair<? extends K, ? extends V>... keyValuePairs) default VThis 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) Method parameters in org.eclipse.collections.api.map with type arguments of type PairModifier 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) ImmutableOrderedMap.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
Methods in org.eclipse.collections.api.map.primitive that return types with arguments of type PairModifier 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
Methods in org.eclipse.collections.api.map.sorted that return types with arguments of type PairModifier and TypeMethodDescription<S> ImmutableList<Pair<V,S>> <S> MutableList<Pair<V,S>> <S> ListIterable<Pair<V,S>> ImmutableSortedMap.zipWithIndex()MutableSortedMap.zipWithIndex()SortedMapIterable.zipWithIndex()Methods in org.eclipse.collections.api.map.sorted with parameters of type PairModifier 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) Method parameters in org.eclipse.collections.api.map.sorted with type arguments of type PairModifier 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
Methods in org.eclipse.collections.api.multimap that return types with arguments of type PairModifier 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.Methods in org.eclipse.collections.api.multimap with parameters of type PairModifier and TypeMethodDescriptiondefault booleanModification operation similar to put, however, takes the key-value pair as the input.default booleanMutableMultimap.putAllPairs(Pair<? extends K, ? extends V>... pairs) Method parameters in org.eclipse.collections.api.multimap with type arguments of type PairModifier 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 booleanMutableMultimap.putAllPairs(Iterable<? extends Pair<? extends K, ? extends V>> pairs) -
Uses of Pair in org.eclipse.collections.api.multimap.bag
Method parameters in org.eclipse.collections.api.multimap.bag with type arguments of type PairModifier 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
Method parameters in org.eclipse.collections.api.multimap.list with type arguments of type PairModifier 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
Method parameters in org.eclipse.collections.api.multimap.ordered with type arguments of type PairModifier 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
Method parameters in org.eclipse.collections.api.multimap.set with type arguments of type PairModifier 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
Method parameters in org.eclipse.collections.api.multimap.sortedbag with type arguments of type PairModifier 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
Method parameters in org.eclipse.collections.api.multimap.sortedset with type arguments of type PairModifier 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
Methods in org.eclipse.collections.api.ordered with type parameters of type PairModifier and TypeMethodDescription<S,R extends Collection<Pair<T, S>>>
RSame asOrderedIterable.zip(Iterable)but usestargetfor output.<R extends Collection<Pair<T,Integer>>>
ROrderedIterable.zipWithIndex(R target) Same asOrderedIterable.zipWithIndex()but usestargetfor output.Methods in org.eclipse.collections.api.ordered that return types with arguments of type PairModifier and TypeMethodDescription<S> OrderedIterable<Pair<T,S>> Returns aOrderedIterableformed from thisOrderedIterableand anotherIterableby 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
Methods in org.eclipse.collections.api.set that return types with arguments of type PairModifier 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 ofthisand 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
Methods in org.eclipse.collections.api.set.sorted that return types with arguments of type PairModifier 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
Methods in org.eclipse.collections.api.stack that return PairModifier and TypeMethodDescriptiondefault Pair<T,ImmutableStack<T>> ImmutableStack.peekAndPop()default Pair<ListIterable<T>,ImmutableStack<T>> ImmutableStack.peekAndPop(int count) Methods in org.eclipse.collections.api.stack that return types with arguments of type PairModifier 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
Subinterfaces of Pair in org.eclipse.collections.api.tupleModifier and TypeInterfaceDescriptioninterfaceTwin<T>A Twin is a Pair where both elements have the same type.Methods in org.eclipse.collections.api.tuple that return Pair