- java.lang.Object
-
- org.hornetq.api.core.Pair<A,B>
-
- All Implemented Interfaces:
- java.io.Serializable
public class Pair<A,B>
extends java.lang.Object
implements java.io.Serializable
A Pair is a holder for 2 objects.
- Author:
- Tim Fox
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors
Constructor and Description |
Pair(A a,
B b) |
-
Method Summary
-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
-
setA
public void setA(A a)
-
setB
public void setB(B b)
Copyright © 2009 Red Hat Inc. All Rights Reserved.