at.tuwien.ifs.commons.util.collection
Class Triple<S,T,U>

java.lang.Object
  extended by at.tuwien.ifs.commons.util.collection.Pair<S,T>
      extended by at.tuwien.ifs.commons.util.collection.Triple<S,T,U>

public class Triple<S,T,U>
extends Pair<S,T>

A class that holds three typed objects together, similar to the Pair.

Version:
$Id: Triple.java 4221 2011-10-06 16:30:12Z mayer $
Author:
Rudolf Mayer

Field Summary
private  U third
           
 
Constructor Summary
Triple(S first, T second, U third)
           
 
Method Summary
 U getThird()
           
 
Methods inherited from class at.tuwien.ifs.commons.util.collection.Pair
getFirst, getSecond
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

third

private U third
Constructor Detail

Triple

public Triple(S first,
              T second,
              U third)
Method Detail

getThird

public U getThird()
Returns:
Returns the third element.