Class AbstractMapEntryDecorator
- java.lang.Object
-
- org.apache.commons.collections.keyvalue.AbstractMapEntryDecorator
-
- All Implemented Interfaces:
java.util.Map.Entry
,KeyValue
@Deprecated public abstract class AbstractMapEntryDecorator extends java.lang.Object implements java.util.Map.Entry, KeyValue
Deprecated.Please use Apache Commons Collections 4 instead.Provides a base decorator that allows additional functionality to be added to aMap.Entry
.- Since:
- Commons Collections 3.0
-
-
Constructor Summary
Constructors Constructor Description AbstractMapEntryDecorator(java.util.Map.Entry entry)
Deprecated.Constructor that wraps (not copies).
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
Deprecated.java.lang.Object
getKey()
Deprecated.Gets the key from the pair.java.lang.Object
getValue()
Deprecated.Gets the value from the pair.int
hashCode()
Deprecated.java.lang.Object
setValue(java.lang.Object object)
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
getKey
public java.lang.Object getKey()
Deprecated.Description copied from interface:KeyValue
Gets the key from the pair.
-
getValue
public java.lang.Object getValue()
Deprecated.Description copied from interface:KeyValue
Gets the value from the pair.
-
setValue
public java.lang.Object setValue(java.lang.Object object)
Deprecated.- Specified by:
setValue
in interfacejava.util.Map.Entry
-
equals
public boolean equals(java.lang.Object object)
Deprecated.- Specified by:
equals
in interfacejava.util.Map.Entry
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Specified by:
hashCode
in interfacejava.util.Map.Entry
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-