org.identityconnectors.common
Class Pair<T1,T2>

java.lang.Object
  extended by org.identityconnectors.common.Pair<T1,T2>

public class Pair<T1,T2>
extends Object

An arbitrary pair of objects. Convenient for when you want a method to return a pair of objects.


Field Summary
 T1 first
           
 T2 second
           
 
Constructor Summary
Pair()
           
Pair(T1 f, T2 s)
           
 
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 T1 first

second

public T2 second
Constructor Detail

Pair

public Pair()

Pair

public Pair(T1 f,
            T2 s)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.