Uses of Class
dk.cloudcreate.essentials.shared.functional.tuple.comparable.ComparablePair
Packages that use ComparablePair
-
Uses of ComparablePair in dk.cloudcreate.essentials.shared.functional.tuple.comparable
Methods in dk.cloudcreate.essentials.shared.functional.tuple.comparable that return ComparablePairModifier and TypeMethodDescriptionstatic <T1 extends Comparable<? super T1>,T2 extends Comparable<? super T2>>
ComparablePair<T1,T2> <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> Map the first element of thisComparablePairusing the mapping function<R2 extends Comparable<? super R2>>
ComparablePair<T1,R2> 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.swap()Swap the elements of thisComparablePairMethods in dk.cloudcreate.essentials.shared.functional.tuple.comparable with parameters of type ComparablePairMethod parameters in dk.cloudcreate.essentials.shared.functional.tuple.comparable with type arguments of type ComparablePairModifier and TypeMethodDescription<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