Class ThreeTuple<K,T,G>

java.lang.Object
org.sgrewritten.stargate.container.ThreeTuple<K,T,G>

public class ThreeTuple<K,T,G> extends Object
  • Constructor Details

    • ThreeTuple

      public ThreeTuple(K value1, T value2, G value3)
      Instantiates a new three-tuple
      Parameters:
      value1 -

      The first value to store

      value2 -

      The second value to store

  • Method Details

    • getFirstValue

      public K getFirstValue()
      Gets the first value stored in this three-tuple
      Returns:

      The first value stored in this two-tuple

    • getSecondValue

      public T getSecondValue()
      Gets the second value of this three-tuple
      Returns:

      The second value of this two-tuple

    • getThirdValue

      public G getThirdValue()
      Gets the third value of this three-tuple
      Returns:

      The third value of this three-tuple

    • toString

      public String toString()
      Overrides:
      toString in class Object