net.obsearch.utils
Class Pair<A,B>

java.lang.Object
  extended by net.obsearch.utils.Pair<A,B>
Type Parameters:
A -
B -

public class Pair<A,B>
extends Object

A pair of objects

Author:
amuller

Constructor Summary
Pair(A a, B b)
           
 
Method Summary
 boolean equals(Object o)
           
 A getA()
           
 B getB()
           
 void setA(A a)
           
 void setB(B b)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pair

public Pair(A a,
            B b)
Method Detail

getA

public A getA()

setA

public void setA(A a)

getB

public B getB()

setB

public void setB(B b)

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.