Class AbstractMapEntryDecorator
- java.lang.Object
-
- org.apache.commons.collections.keyvalue.AbstractMapEntryDecorator
-
- All Implemented Interfaces:
java.util.Map.Entry,KeyValue
@Deprecated(since="2021-04-30") public abstract class AbstractMapEntryDecorator extends java.lang.Object implements java.util.Map.Entry, KeyValue
Deprecated.Apache Commons Collections version 3.x is being deprecated from AEMaaCS. The upgraded version 4.4 of Commons Collections is already included as replacement. Customers are advised to upgrade to this version of the library. Please note: the package name was changed to org.apache.commons.collections4. Further note that there are AEM APIs currently exposing the old collections classes; these will be updated in upcoming releases.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 booleanequals(java.lang.Object object)Deprecated.java.lang.ObjectgetKey()Deprecated.Gets the key from the pair.java.lang.ObjectgetValue()Deprecated.Gets the value from the pair.inthashCode()Deprecated.java.lang.ObjectsetValue(java.lang.Object object)Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
getKey
public java.lang.Object getKey()
Deprecated.Description copied from interface:KeyValueGets the key from the pair.
-
getValue
public java.lang.Object getValue()
Deprecated.Description copied from interface:KeyValueGets the value from the pair.
-
setValue
public java.lang.Object setValue(java.lang.Object object)
Deprecated.- Specified by:
setValuein interfacejava.util.Map.Entry
-
equals
public boolean equals(java.lang.Object object)
Deprecated.- Specified by:
equalsin interfacejava.util.Map.Entry- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Specified by:
hashCodein interfacejava.util.Map.Entry- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-