edu.indiana.util
Class EntryImpl
java.lang.Object
edu.indiana.util.EntryImpl
- All Implemented Interfaces:
- java.util.Map.Entry
public class EntryImpl
- extends java.lang.Object
- implements java.util.Map.Entry
An implementation of the java.util.Map.Entry, so that such objects can be
instantiated.
|
Constructor Summary |
EntryImpl(java.lang.Object key,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map.Entry |
equals, hashCode |
EntryImpl
public EntryImpl(java.lang.Object key,
java.lang.Object value)
- Parameters:
key - value -
getKey
public java.lang.Object getKey()
- Specified by:
getKey in interface java.util.Map.Entry
- Returns:
getValue
public java.lang.Object getValue()
- Specified by:
getValue in interface java.util.Map.Entry
- Returns:
setValue
public java.lang.Object setValue(java.lang.Object obj)
- Specified by:
setValue in interface java.util.Map.Entry
- Parameters:
obj -
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object