Class Triplet<T1,T2,T3>

java.lang.Object
org.eclipse.net4j.util.collection.Pair<T1,T2>
org.eclipse.net4j.util.collection.Triplet<T1,T2,T3>

public class Triplet<T1,T2,T3> extends Pair<T1,T2>
Since:
3.0
Author:
Caspar De Groot
  • Constructor Details

    • Triplet

      public Triplet()
    • Triplet

      public Triplet(T1 element1, T2 element2, T3 element3)
    • Triplet

      public Triplet(Triplet<T1,T2,T3> source)
  • Method Details

    • getElement3

      public final T3 getElement3()
    • setElement3

      public void setElement3(T3 element3)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Pair<T1,T2>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Pair<T1,T2>
    • toString

      public String toString()
      Overrides:
      toString in class Pair<T1,T2>