Class Tuple4<A,B,C,D>

java.lang.Object
ch.tocco.nice2.toolbox.api.lang.Tuple4<A,B,C,D>

public final class Tuple4<A,B,C,D> extends Object
  • Field Details

    • _1

      @Nullable public final A _1
    • _2

      @Nullable public final B _2
    • _3

      @Nullable public final C _3
    • _4

      @Nullable public final D _4
  • Constructor Details

    • Tuple4

      public Tuple4(@Nullable A _1, @Nullable B _2, @Nullable C _3, @Nullable D _4)
  • Method Details

    • of

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object