com.stackmob.sdk.util
Class Pair<K,V>

java.lang.Object
  extended by com.stackmob.sdk.util.Pair<K,V>
All Implemented Interfaces:
java.util.Map.Entry<K,V>

public class Pair<K,V>
extends java.lang.Object
implements java.util.Map.Entry<K,V>


Constructor Summary
Pair(K key, V value)
           
 
Method Summary
 K getKey()
           
 V getValue()
           
 V setValue(V value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Constructor Detail

Pair

public Pair(K key,
            V value)
Method Detail

getKey

public K getKey()
Specified by:
getKey in interface java.util.Map.Entry<K,V>

getValue

public V getValue()
Specified by:
getValue in interface java.util.Map.Entry<K,V>

setValue

public V setValue(V value)
Specified by:
setValue in interface java.util.Map.Entry<K,V>


Copyright © 2012 StackMob. All Rights Reserved.