Package org.apache.commons.logging.impl
Class WeakHashtable.Entry
- java.lang.Object
-
- org.apache.commons.logging.impl.WeakHashtable.Entry
-
- All Implemented Interfaces:
java.util.Map.Entry
- Enclosing class:
- WeakHashtable
private static final class WeakHashtable.Entry extends java.lang.Object implements java.util.Map.Entry
Entry implementation
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Entry(java.lang.Object key, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Object
getKey()
java.lang.Object
getValue()
int
hashCode()
java.lang.Object
setValue(java.lang.Object value)
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.util.Map.Entry
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.util.Map.Entry
- Overrides:
hashCode
in classjava.lang.Object
-
setValue
public java.lang.Object setValue(java.lang.Object value)
- Specified by:
setValue
in interfacejava.util.Map.Entry
-
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interfacejava.util.Map.Entry
-
getKey
public java.lang.Object getKey()
- Specified by:
getKey
in interfacejava.util.Map.Entry
-
-