Class Tuples


  • public class Tuples
    extends Object
    Since:
    3.3.0
    Author:
    Leon Chen
    • Constructor Detail

      • Tuples

        public Tuples()
    • Method Detail

      • of

        public static <T1,​T2> Tuple2<T1,​T2> of​(T1 t1,
                                                           T2 t2)
      • of

        public static <T1,​T2,​T3> Tuple3<T1,​T2,​T3> of​(T1 t1,
                                                                             T2 t2,
                                                                             T3 t3)
      • of

        public static <T1,​T2,​T3,​T4> Tuple4<T1,​T2,​T3,​T4> of​(T1 t1,
                                                                                               T2 t2,
                                                                                               T3 t3,
                                                                                               T4 t4)
      • of

        public static <T1,​T2,​T3,​T4,​T5> Tuple5<T1,​T2,​T3,​T4,​T5> of​(T1 t1,
                                                                                                                 T2 t2,
                                                                                                                 T3 t3,
                                                                                                                 T4 t4,
                                                                                                                 T5 t5)