com.atlassian.core.util
Class PairType

java.lang.Object
  extended bycom.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()

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.