diff options
Diffstat (limited to 'libjava/classpath/java/util/Map.java')
-rw-r--r-- | libjava/classpath/java/util/Map.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/classpath/java/util/Map.java b/libjava/classpath/java/util/Map.java index 67b3d8a..1bcb1b2 100644 --- a/libjava/classpath/java/util/Map.java +++ b/libjava/classpath/java/util/Map.java @@ -310,7 +310,7 @@ public interface Map<K, V> * Returns the hash code of the entry. This is defined as the * exclusive-or of the hashcodes of the key and value (using 0 for * <code>null</code>). In other words, this must be: - * + * <p><pre>(getKey() == null ? 0 : getKey().hashCode()) ^ (getValue() == null ? 0 : getValue().hashCode())</pre> * @@ -322,7 +322,7 @@ public interface Map<K, V> * Compares the specified object with this entry. Returns true only if * the object is a mapping of identical key and value. In other words, * this must be: - * + * <p><pre>(o instanceof Map.Entry) && (getKey() == null ? ((Map.Entry) o).getKey() == null : getKey().equals(((Map.Entry) o).getKey())) |