Uses of Class
dk.cloudcreate.essentials.shared.functional.tuple.comparable.ComparablePair
-
Packages that use ComparablePair Package Description dk.cloudcreate.essentials.shared.functional.tuple.comparable -
-
Uses of ComparablePair in dk.cloudcreate.essentials.shared.functional.tuple.comparable
Methods in dk.cloudcreate.essentials.shared.functional.tuple.comparable that return ComparablePair Modifier and Type Method Description static <T1 extends Comparable<? super T1>,T2 extends Comparable<? super T2>>
ComparablePair<T1,T2>ComparableTuple. fromEntry(Map.Entry<? extends T1,? extends T2> entry)<R1 extends Comparable<? super R1>,R2 extends Comparable<? super R2>>
ComparablePair<R1,R2>ComparablePair. map(BiFunction<? super T1,? super T2,ComparablePair<R1,R2>> mappingFunction)Maps the elements of thisComparablePairusing the mapping function<R1 extends Comparable<? super R1>,R2 extends Comparable<? super R2>>
ComparablePair<R1,R2>ComparablePair. map(Function<? super T1,? super R1> mappingFunction1, Function<? super T2,? super R2> mappingFunction2)Maps the elements of thisComparablePairusing two distinct mapping functions<R1 extends Comparable<? super R1>>
ComparablePair<R1,T2>ComparablePair. map1(Function<? super T1,? super R1> mappingFunction1)Map the first element of thisComparablePairusing the mapping function<R2 extends Comparable<? super R2>>
ComparablePair<T1,R2>ComparablePair. map2(Function<? super T2,? super R2> mappingFunction2)Map the second element of thisComparablePairusing the mapping functionstatic <T1 extends Comparable<? super T1>,T2 extends Comparable<? super T2>>
ComparablePair<T1,T2>ComparableTuple. of(T1 t1, T2 t2)Create a newComparableTuplewith 2 elementsComparablePair<T2,T1>ComparablePair. swap()Swap the elements of thisComparablePairMethods in dk.cloudcreate.essentials.shared.functional.tuple.comparable with parameters of type ComparablePair Modifier and Type Method Description intComparablePair. compareTo(ComparablePair<T1,T2> o)Method parameters in dk.cloudcreate.essentials.shared.functional.tuple.comparable with type arguments of type ComparablePair Modifier and Type Method Description <R1 extends Comparable<? super R1>,R2 extends Comparable<? super R2>>
ComparablePair<R1,R2>ComparablePair. map(BiFunction<? super T1,? super T2,ComparablePair<R1,R2>> mappingFunction)Maps the elements of thisComparablePairusing the mapping function
-