org.jclouds.collect
Class AbstractMapEntry<K,V>

java.lang.Object
  extended by org.jclouds.collect.AbstractMapEntry<K,V>
All Implemented Interfaces:
Map.Entry<K,V>

public abstract class AbstractMapEntry<K,V>
extends Object
implements Map.Entry<K,V>


Constructor Summary
AbstractMapEntry()
           
 
Method Summary
 boolean equals(Object object)
           
abstract  K getKey()
           
abstract  V getValue()
           
 int hashCode()
           
 V setValue(V value)
           
 String toString()
          Returns a string representation of the form {key}={value}.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractMapEntry

public AbstractMapEntry()
Method Detail

getKey

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

getValue

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

setValue

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

equals

public boolean equals(@Nullable
                      Object object)
Specified by:
equals in interface Map.Entry<K,V>
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Map.Entry<K,V>
Overrides:
hashCode in class Object

toString

public String toString()
Returns a string representation of the form {key}={value}.

Overrides:
toString in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.