org.yestech.lib.util
Class TupleFactory

java.lang.Object
  extended by org.yestech.lib.util.TupleFactory

public final class TupleFactory
extends java.lang.Object

A factory to create concrete ITuple

Version:
$Revision: $
Author:
Artie Copeland

Method Summary
static
<T1,T2> Pair<T1,T2>
create(T1 first, T2 second)
           
static
<T1,T2,T3> Triple<T1,T2,T3>
create(T1 first, T2 second, T3 third)
           
static
<T1,T2,T3,T4>
Quadruple<T1,T2,T3,T4>
create(T1 first, T2 second, T3 third, T4 fourth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static <T1,T2> Pair<T1,T2> create(T1 first,
                                         T2 second)

create

public static <T1,T2,T3> Triple<T1,T2,T3> create(T1 first,
                                                 T2 second,
                                                 T3 third)

create

public static <T1,T2,T3,T4> Quadruple<T1,T2,T3,T4> create(T1 first,
                                                          T2 second,
                                                          T3 third,
                                                          T4 fourth)


Copyright © 2009 YES Technology Association. All Rights Reserved.