Uses of Class
dk.cloudcreate.essentials.shared.functional.tuple.Pair
-
Packages that use Pair Package Description dk.cloudcreate.essentials.shared.collections dk.cloudcreate.essentials.shared.functional.tuple -
-
Uses of Pair in dk.cloudcreate.essentials.shared.collections
Methods in dk.cloudcreate.essentials.shared.collections that return types with arguments of type Pair Modifier and Type Method Description static <T> Stream<Pair<Integer,T>>Lists. toIndexedStream(List<T> list) -
Uses of Pair in dk.cloudcreate.essentials.shared.functional.tuple
Methods in dk.cloudcreate.essentials.shared.functional.tuple that return Pair Modifier and Type Method Description static <T1,T2>
Pair<T1,T2>Tuple. fromEntry(Map.Entry<? extends T1,? extends T2> entry)<R1,R2>
Pair<R1,R2>Pair. map(BiFunction<? super T1,? super T2,Pair<R1,R2>> mappingFunction)Maps the elements of thisPairusing the mapping function<R1,R2>
Pair<R1,R2>Pair. map(Function<? super T1,? super R1> mappingFunction1, Function<? super T2,? super R2> mappingFunction2)Maps the elements of thisPairusing two distinct mapping functions<R1> Pair<R1,T2>Pair. map1(Function<? super T1,? super R1> mappingFunction1)Map the first element of thisPairusing the mapping function<R2> Pair<T1,R2>Pair. map2(Function<? super T2,? super R2> mappingFunction2)Map the second element of thisPairusing the mapping functionstatic <T1,T2>
Pair<T1,T2>Pair. of(T1 t1, T2 t2)Create a newTuplewith 2 elementsstatic <T1,T2>
Pair<T1,T2>Tuple. of(T1 t1, T2 t2)Create a newTuplewith 2 elementsPair<T2,T1>Pair. swap()Swap the elements of thisPairMethod parameters in dk.cloudcreate.essentials.shared.functional.tuple with type arguments of type Pair Modifier and Type Method Description <R1,R2>
Pair<R1,R2>Pair. map(BiFunction<? super T1,? super T2,Pair<R1,R2>> mappingFunction)Maps the elements of thisPairusing the mapping function
-