Class Tuple3<A,B,C>

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

public final class Tuple3<A,B,C> extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final @Nullable A
     
    final @Nullable B
     
    final @Nullable C
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Tuple3(@Nullable A _1, @Nullable B _2, @Nullable C _3)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    static <A,B,C> Tuple3<A,B,C>
    of(@Nullable A a, @Nullable B b, @Nullable C c)
     
     

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _1

      public final @Nullable A _1
    • _2

      public final @Nullable B _2
    • _3

      public final @Nullable C _3
  • Constructor Details

    • Tuple3

      public Tuple3(@Nullable A _1, @Nullable B _2, @Nullable C _3)
  • Method Details

    • of

      public static <A,B,C> Tuple3<A,B,C> of(@Nullable A a, @Nullable B b, @Nullable C c)
    • 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