com.atlassian.crowd.core.tiny
Class PairType

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

public final class PairType
extends Object
implements Serializable

A simple type to represent a pair of objects.

See Also:
Serialized Form

Constructor Summary
PairType(Serializable key, String value)
           
 
Method Summary
 boolean equals(Object o)
           
 Serializable getKey()
           
 String getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PairType

public PairType(Serializable key,
                String value)
Method Detail

getKey

public Serializable getKey()

getValue

public String getValue()

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 © 2016 Atlassian. All Rights Reserved.