Class Tuple


  • public final class Tuple
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Tuple()  
    • Method Summary

      Modifier and Type Method Description
      static <A,​B>
      Couple<A,​B>
      of​(A first, B second)  
      static <A,​B,​C>
      Triple<A,​B,​C>
      of​(A first, B second, C third)  
      static <A,​B,​C,​D>
      Quadruple<A,​B,​C,​D>
      of​(A first, B second, C third, D fourth)  
      static <A,​B,​C,​D,​E>
      Quintuple<A,​B,​C,​D,​E>
      of​(A first, B second, C third, D fourth, E fifth)  
      static <A,​B,​C,​D,​E,​F>
      Sextuple<A,​B,​C,​D,​E,​F>
      of​(A first, B second, C third, D fourth, E fifth, F sixth)  
      static <A,​B,​C,​D,​E,​F,​G>
      Septuple<A,​B,​C,​D,​E,​F,​G>
      of​(A first, B second, C third, D fourth, E fifth, F sixth, G seventh)  
      static <A,​B,​C,​D,​E,​F,​G,​H>
      Octuple<A,​B,​C,​D,​E,​F,​G,​H>
      of​(A first, B second, C third, D fourth, E fifth, F sixth, G seventh, H eighth)  
    • Constructor Detail

      • Tuple

        public Tuple()
    • Method Detail

      • of

        public static <A,​B> Couple<A,​B> of​(A first,
                                                       B second)
      • of

        public static <A,​B,​C> Triple<A,​B,​C> of​(A first,
                                                                       B second,
                                                                       C third)
      • of

        public static <A,​B,​C,​D> Quadruple<A,​B,​C,​D> of​(A first,
                                                                                          B second,
                                                                                          C third,
                                                                                          D fourth)
      • of

        public static <A,​B,​C,​D,​E> Quintuple<A,​B,​C,​D,​E> of​(A first,
                                                                                                          B second,
                                                                                                          C third,
                                                                                                          D fourth,
                                                                                                          E fifth)
      • of

        public static <A,​B,​C,​D,​E,​F> Sextuple<A,​B,​C,​D,​E,​F> of​(A first,
                                                                                                                         B second,
                                                                                                                         C third,
                                                                                                                         D fourth,
                                                                                                                         E fifth,
                                                                                                                         F sixth)
      • of

        public static <A,​B,​C,​D,​E,​F,​G> Septuple<A,​B,​C,​D,​E,​F,​G> of​(A first,
                                                                                                                                         B second,
                                                                                                                                         C third,
                                                                                                                                         D fourth,
                                                                                                                                         E fifth,
                                                                                                                                         F sixth,
                                                                                                                                         G seventh)
      • of

        public static <A,​B,​C,​D,​E,​F,​G,​H> Octuple<A,​B,​C,​D,​E,​F,​G,​H> of​(A first,
                                                                                                                                                        B second,
                                                                                                                                                        C third,
                                                                                                                                                        D fourth,
                                                                                                                                                        E fifth,
                                                                                                                                                        F sixth,
                                                                                                                                                        G seventh,
                                                                                                                                                        H eighth)