Class Triplet<T,​U,​V>

java.lang.Object
io.opentimeline.util.Triplet<T,​U,​V>
Type Parameters:
T - type for first value
U - type for second value
V - type for third value

public class Triplet<T,​U,​V>
extends java.lang.Object
A generic class that holds a triplet of values.
  • Constructor Summary

    Constructors 
    Constructor Description
    Triplet​(T first, U second, V third)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    T getFirst()  
    U getSecond()  
    V getThird()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Triplet

      public Triplet​(T first, U second, V third)
  • Method Details

    • getFirst

      public T getFirst()
    • getSecond

      public U getSecond()
    • getThird

      public V getThird()
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object