net.sf.jpacriteria.tuple
Class Tuple.Pair<FIRST,SECOND>

java.lang.Object
  extended by net.sf.jpacriteria.tuple.Tuple<java.lang.Object>
      extended by net.sf.jpacriteria.tuple.Tuple.Pair<FIRST,SECOND>
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Tuple<java.lang.Object>>
Direct Known Subclasses:
Tuple.Triplet
Enclosing class:
Tuple<T>

public static class Tuple.Pair<FIRST,SECOND>
extends Tuple<java.lang.Object>

Two elements tuple.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.jpacriteria.tuple.Tuple
Tuple.Pair<FIRST,SECOND>, Tuple.Triplet<FIRST,SECOND,THIRD>
 
Constructor Summary
  Tuple.Pair(FIRST first, SECOND second)
           
protected Tuple.Pair(java.lang.Object... objects)
           
 
Method Summary
 FIRST first()
          Gets first
 SECOND second()
          Gets second
 
Methods inherited from class net.sf.jpacriteria.tuple.Tuple
asList, compareTo, equals, get, getPair, getTriplet, getTuple, hashCode, set, size, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tuple.Pair

protected Tuple.Pair(java.lang.Object... objects)

Tuple.Pair

public Tuple.Pair(FIRST first,
                  SECOND second)
Method Detail

first

public FIRST first()
Gets first

Returns:
first

second

public SECOND second()
Gets second

Returns:
second


Copyright © 2007. All Rights Reserved.