edu.cmu.cs.crystal.util
Class Triple<F,S,T>

java.lang.Object
  extended by edu.cmu.cs.crystal.util.Triple<F,S,T>

public final class Triple<F,S,T>
extends Object

A n-tuple where n is three.

Author:
Nels Beckman
See Also:
Pair

Constructor Summary
Triple(F f, S s, T t)
           
 
Method Summary
static
<F,S,T> Triple<F,S,T>
createTriple(F f, S s, T t)
           
 F fst()
           
 S snd()
           
 T thrd()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Triple

public Triple(F f,
              S s,
              T t)
Method Detail

createTriple

public static <F,S,T> Triple<F,S,T> createTriple(F f,
                                                 S s,
                                                 T t)

fst

public F fst()

snd

public S snd()

thrd

public T thrd()