com.atlassian.core.util
Class PairType
java.lang.Object
com.atlassian.core.util.PairType
- All Implemented Interfaces:
- java.io.Serializable
public class PairType
- extends java.lang.Object
- implements java.io.Serializable
A simple type to represent a pair of objects.
- See Also:
- Serialized Form
|
Constructor Summary |
PairType()
|
PairType(java.io.Serializable key,
java.io.Serializable value)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PairType
public PairType()
PairType
public PairType(java.io.Serializable key,
java.io.Serializable value)
getKey
public java.io.Serializable getKey()
setKey
public void setKey(java.io.Serializable key)
getValue
public java.io.Serializable getValue()
setValue
public void setValue(java.io.Serializable value)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.