com.atlassian.core.util
Class PairType

java.lang.Object
  extended by com.atlassian.core.util.PairType
All Implemented Interfaces:
Serializable

public class PairType
extends Object
implements Serializable

A simple type to represent a pair of objects.

See Also:
Serialized Form

Constructor Summary
PairType()
           
PairType(Serializable key, Serializable value)
           
 
Method Summary
 boolean equals(Object o)
           
 Serializable getKey()
           
 Serializable getValue()
           
 int hashCode()
           
 void setKey(Serializable key)
           
 void setValue(Serializable value)
           
 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(Serializable key,
                Serializable value)
Method Detail

getKey

public Serializable getKey()

setKey

public void setKey(Serializable key)

getValue

public Serializable getValue()

setValue

public void setValue(Serializable value)

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2015 Atlassian. All rights reserved.