org.apache.openjpa.lib.util.concurrent
Class ConcurrentHashMap.Entry

java.lang.Object
  extended by org.apache.openjpa.lib.util.concurrent.ConcurrentHashMap.Entry
All Implemented Interfaces:
java.util.Map.Entry
Enclosing class:
ConcurrentHashMap

protected static class ConcurrentHashMap.Entry
extends java.lang.Object
implements java.util.Map.Entry


Constructor Summary
protected ConcurrentHashMap.Entry(int h, java.lang.Object k, java.lang.Object v, ConcurrentHashMap.Entry n)
          Create new entry.
 
Method Summary
protected  java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 java.lang.Object getKey()
           
 java.lang.Object getValue()
           
 int hashCode()
           
 java.lang.Object setValue(java.lang.Object newValue)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConcurrentHashMap.Entry

protected ConcurrentHashMap.Entry(int h,
                                  java.lang.Object k,
                                  java.lang.Object v,
                                  ConcurrentHashMap.Entry n)
Create new entry.

Method Detail

getKey

public java.lang.Object getKey()
Specified by:
getKey in interface java.util.Map.Entry

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface java.util.Map.Entry

setValue

public java.lang.Object setValue(java.lang.Object newValue)
Specified by:
setValue in interface java.util.Map.Entry

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Map.Entry
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map.Entry
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

protected java.lang.Object clone()
Overrides:
clone in class java.lang.Object


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.