Class AbstractMapEntry
java.lang.Object
org.apache.commons.collections.keyvalue.AbstractKeyValue
org.apache.commons.collections.keyvalue.AbstractMapEntry
- Direct Known Subclasses:
DefaultMapEntry,UnmodifiableMapEntry
@Deprecated(since="2021-04-30")
public abstract class AbstractMapEntry
extends AbstractKeyValue
implements Map.Entry
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.
Abstract Pair class to assist with creating correct
Map.Entry implementations.- Since:
- Commons Collections 3.0
-
Method Summary
Methods inherited from class org.apache.commons.collections.keyvalue.AbstractKeyValue
getKey, getValue, toString
-
Method Details
-
setValue
Deprecated.Sets the value stored in thisMap.Entry.This
Map.Entryis not connected to a Map, so only the local data is changed. -
equals
Deprecated.Compares thisMap.Entrywith anotherMap.Entry.Implemented per API documentation of
Map.Entry.equals(Object) -
hashCode
public int hashCode()Deprecated.Gets a hashCode compatible with the equals method.Implemented per API documentation of
Map.Entry.hashCode()
-