SQLTuple version: 1.2.0.0

hep.aida.ref.sql
Class Pair<A,B>

java.lang.Object
  extended by hep.aida.ref.sql.Pair<A,B>

public class Pair<A,B>
extends Object

Pair is a pair of objects.

 $Log: Pair.java,v $
 Revision 1.7  2007/05/23 16:38:44  hrivnac
 logical connections for Plotter; better UML

 Revision 1.6  2006/04/22 12:34:17  hrivnac
 Web Service included

 Revision 1.5  2004/05/22 15:12:59  hrivnac
 class id reformated

 Revision 1.4  2004/04/14 13:39:46  hrivnac
 1.5 warnings fixed

 Revision 1.3  2004/02/10 14:50:58  hrivnac
 JavaDoc tags completed
../../SQLTuple/src/hep/aida/ref/sql/Utilities
 Revision 1.2  2004/02/09 15:29:39  hrivnac
 better hashcode

 Revision 1.1  2004/02/04 13:30:39  hrivnac
 - improvement of Enums internal mapping
 - general cleaning

 

Version:
$Id: Pair.java,v 1.7 2007/05/23 16:38:44 hrivnac Exp $
Author:
J.Hrivnac

Field Summary
 A first
           
 B second
           
 
Constructor Summary
Pair(A a, B b)
          Create a pair of Objects of types A and B.
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

first

public A first

second

public B second
Constructor Detail

Pair

public Pair(A a,
            B b)
Create a pair of Objects of types A and B.

Parameters:
a - The first Object.
b - The second Objec.
Method Detail

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Written by: J.Hrivnac

Documentation built November 9 2010 on Linux by hrivnac