org.jjoost.util.tuples
Interface Pair<A,B>

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
FourTuple<A,B,C,D>, Triple<A,B,C>

public interface Pair<A,B>
extends java.io.Serializable

A simple interface representing a pair of values

Author:
b.elliottsmith

Method Summary
 A first()
           
 B second()
           
 

Method Detail

first

A first()
Returns:
the first value of the pair

second

B second()
Returns:
the second value of the pair