Uses of Interface
no.digipost.tuple.Pentuple

Packages that use Pentuple
Package
Description
 
  • Uses of Pentuple in no.digipost.tuple

    Methods in no.digipost.tuple that return Pentuple
    Modifier and Type
    Method
    Description
    Pentuple.asPentuple()
     
    ViewableAsPentuple.asPentuple()
     
    static <T1, T2, T3, T4, T5>
    Pentuple<T1,T2,T3,T4,T5>
    Pentuple.flatten(Tuple<Tuple<Tuple<Tuple<T1,T2>,T3>,T4>,T5> nestedTuple)
     
    <S1, S2, S3, S4, S5>
    Pentuple<S1,S2,S3,S4,S5>
    Pentuple.map(Function<? super T1,? extends S1> firstMapper, Function<? super T2,? extends S2> secondMapper, Function<? super T3,? extends S3> thirdMapper, Function<? super T4,? extends S4> fourthMapper, Function<? super T5,? extends S5> fifthMapper)
    Create a new pentuple by applying a function to each element, and putting the results into a new pentuple.
    <S5> Pentuple<T1,T2,T3,T4,S5>
    Pentuple.mapFifth(Function<? super T5,? extends S5> mapper)
    Create a new pentuple by applying a function to the fifth element, and putting the result as the fifth element of the new pentuple.
    <S1> Pentuple<S1,T2,T3,T4,T5>
    Pentuple.mapFirst(Function<? super T1,? extends S1> mapper)
    Create a new pentuple by applying a function to the first element, and putting the result as the first element of the new pentuple.
    <S4> Pentuple<T1,T2,T3,S4,T5>
    Pentuple.mapFourth(Function<? super T4,? extends S4> mapper)
    Create a new pentuple by applying a function to the fourth element, and putting the result as the fourth element of the new pentuple.
    <S2> Pentuple<T1,S2,T3,T4,T5>
    Pentuple.mapSecond(Function<? super T2,? extends S2> mapper)
    Create a new pentuple by applying a function to the second element, and putting the result as the second element of the new pentuple.
    <S3> Pentuple<T1,T2,S3,T4,T5>
    Pentuple.mapThird(Function<? super T3,? extends S3> mapper)
    Create a new pentuple by applying a function to the third element, and putting the result as the third element of the new pentuple.
    static <T1, T2, T3, T4, T5>
    Pentuple<T1,T2,T3,T4,T5>
    Pentuple.of(T1 first, T2 second, T3 third, T4 fourth, T5 fifth)