Class Tuples


  • public class Tuples
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Tuples()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <A,​B>
      Tuple<A,​B>
      of​(A first, B second)  
      static <A,​B,​C>
      Tuple3<A,​B,​C>
      of​(A first, B second, C third)  
      static <A,​B,​C,​D>
      Tuple4<A,​B,​C,​D>
      of​(A first, B second, C third, D fourth)  
      static <A,​B,​C,​D,​E>
      Tuple5<A,​B,​C,​D,​E>
      of​(A first, B second, C third, D fourth, E fifth)  
      static <A,​B,​C,​D,​E,​F>
      Tuple6<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>
      Tuple7<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>
      Tuple8<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)  
      static <A,​B,​C,​D,​E,​F,​G,​H,​I>
      Tuple9<A,​B,​C,​D,​E,​F,​G,​H,​I>
      of​(A first, B second, C third, D fourth, E fifth, F sixth, G seventh, H eighth, I ninth)  
    • Constructor Detail

      • Tuples

        public Tuples()
    • Method Detail

      • of

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

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

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

        public static <A,​B,​C,​D,​E> Tuple5<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> Tuple6<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> Tuple7<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> Tuple8<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)
      • of

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