com.atlassian.core.util
Class PairType

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.io.Serializable getKey()
           
 java.io.Serializable getValue()
           
 int hashCode()
           
 void setKey(java.io.Serializable key)
           
 void setValue(java.io.Serializable value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PairType

public PairType()

PairType

public PairType(java.io.Serializable key,
                java.io.Serializable value)
Method Detail

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.