org.jboss.shotoku.tools
Class Tuples

java.lang.Object
  extended by org.jboss.shotoku.tools.Tuples

public class Tuples
extends java.lang.Object

Author:
Adam Warski

Constructor Summary
Tuples()
           
 
Method Summary
static
<A,B> Pair<A,B>
tuple(A a, B b)
           
static
<A,B,C> Triple<A,B,C>
tuple(A a, B b, C c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tuples

public Tuples()
Method Detail

tuple

public static <A,B> Pair<A,B> tuple(A a,
                                    B b)

tuple

public static <A,B,C> Triple<A,B,C> tuple(A a,
                                          B b,
                                          C c)