br.usp.iterador.util
Class Pair<A,B>

java.lang.Object
  extended by br.usp.iterador.util.Pair<A,B>
Type Parameters:
A - First type
B - Second type

public class Pair<A,B>
extends java.lang.Object

A pair representation

Author:
Guilherme Silveira

Constructor Summary
Pair(A first, B second)
           
 
Method Summary
 A getFirst()
           
 B getSecond()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pair

public Pair(A first,
            B second)
Method Detail

getFirst

public A getFirst()

getSecond

public B getSecond()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.