Class Tuples

java.lang.Object
ch.tocco.nice2.toolbox.api.lang.Tuples

public final class Tuples extends Object
  • Method Details

    • tuple

      public static <A, B> Tuple2<A,B> tuple(@Nullable A first, @Nullable B second)
    • tuple

      public static <A, B, C> Tuple3<A,B,C> tuple(@Nullable A a, @Nullable B b, @Nullable C c)
    • tuple

      public static <A, B, C> Tuple3<A,B,C> tuple(Tuple2<A,B> tuple, @Nullable C c)
    • tuple

      public static <A, B, C, D> Tuple4<A,B,C,D> tuple(@Nullable A a, @Nullable B b, @Nullable C c, @Nullable D d)
    • tuple

      public static <A, B, C, D> Tuple4<A,B,C,D> tuple(Tuple3<A,B,C> tuple, @Nullable D d)
    • tuple

      public static <A, B> Tuple2<A,B> tuple(Map.Entry<A,B> entry)