Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.java.util
Interface Map.Entry

Enclosing interface:
Map

public static interface Map.Entry

Map.Entry is a key/value mapping which is contained in a Map.


Method Summary
 boolean equals(java.lang.Object object)
          Compares the specified object to this Map.Entry and answer if they are equal.
 java.lang.Object getKey()
          Gets the key.
 java.lang.Object getValue()
          Gets the value.
 int hashCode()
          Answers an integer hash code for the receiver.
 java.lang.Object setValue(java.lang.Object object)
          Sets the value.
 

Method Detail

equals

boolean equals(java.lang.Object object)
Compares the specified object to this Map.Entry and answer if they are equal. The object must be an instance of Map.Entry and have the same key and value.

Overrides:
equals in class java.lang.Object
Parameters:
object - the object to compare with this object
Returns:
true if the specified object is equal to this Map.Entry, false otherwise
See Also:
hashCode()

getKey

java.lang.Object getKey()
Gets the key.

Returns:
the key

getValue

java.lang.Object getValue()
Gets the value.

Returns:
the value

hashCode

int hashCode()
Answers an integer hash code for the receiver. Objects which are equal answer the same value for this method.

Overrides:
hashCode in class java.lang.Object
Returns:
the receiver's hash
See Also:
equals(java.lang.Object)

setValue

java.lang.Object setValue(java.lang.Object object)
Sets the value.

Parameters:
object - the new value
Returns:
object

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.