org.mymedialite.datatype
Class Triple<T,U,V>

java.lang.Object
  extended by org.mymedialite.datatype.Triple<T,U,V>

public class Triple<T,U,V>
extends java.lang.Object

Generic triple class.


Field Summary
 T first
          the first component.
 U second
          the second component.
 V third
          the third component.
 
Constructor Summary
Triple()
          Default constructor.
Triple(T first, U second, V third)
          Create a Triple object from existing data.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

first

public T first
the first component.


second

public U second
the second component.


third

public V third
the third component.

Constructor Detail

Triple

public Triple()
Default constructor.


Triple

public Triple(T first,
              U second,
              V third)
Create a Triple object from existing data.

Parameters:
first - the first component
second - the second component
third - the third component