org.eclipse.emf.ecp.view.test.common
Class Tuple<T,U>

java.lang.Object
  extended by org.eclipse.emf.ecp.view.test.common.Tuple<T,U>

public class Tuple<T,U>
extends Object

Convenience class for returning multiple values at once.

Author:
emueller

Constructor Summary
Tuple(T t, U u)
           
 
Method Summary
static
<A,B> Tuple<A,B>
create(A first, B second)
           
 T first()
           
 U second()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tuple

public Tuple(T t,
             U u)
Method Detail

create

public static <A,B> Tuple<A,B> create(A first,
                                      B second)

first

public T first()

second

public U second()


Copyright © 2014. All Rights Reserved.