mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8217393: Clarify Attributes.equals()
Reviewed-by: alanb, darcy, rriggs, martin
This commit is contained in:
parent
66c9e770df
commit
9b0b058ee7
1 changed files with 4 additions and 3 deletions
|
@ -265,9 +265,10 @@ public class Attributes implements Map<Object,Object>, Cloneable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Compares the specified Attributes object with this Map for equality.
|
||||
* Returns true if the given object is also an instance of Attributes
|
||||
* and the two Attributes objects represent the same mappings.
|
||||
* Compares the specified object to the underlying
|
||||
* {@linkplain Attributes#map map} for equality.
|
||||
* Returns true if the given object is also a Map
|
||||
* and the two maps represent the same mappings.
|
||||
*
|
||||
* @param o the Object to be compared
|
||||
* @return true if the specified Object is equal to this Map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue