org.ckkloverdos.tuple
Interface IPair

All Superinterfaces:
ITuple
All Known Implementing Classes:
BinaryHint, Pair

public interface IPair
extends ITuple

A placeholder for a pair of objects. The size of a pair is always two.

Author:
Christos KK Loverdos

Method Summary
 java.lang.Object getA()
          Returns the first object of the pair.
 java.lang.Object getB()
          Returns the second object of the pair.
 
Methods inherited from interface org.ckkloverdos.tuple.ITuple
get, isEmpty, isNull, size
 

Method Detail

getA

java.lang.Object getA()
Returns the first object of the pair.


getB

java.lang.Object getB()
Returns the second object of the pair.



Copyright © 1999-2007 Christos KK Loverdos. All Rights Reserved.