com.mockobjects
Class MapEntry
java.lang.Object
com.mockobjects.MapEntry
- All Implemented Interfaces:
- java.util.Map.Entry
- public class MapEntry
- extends java.lang.Object
- implements java.util.Map.Entry
A public MapEntry data type that can be used where the Map.Entry interface is required
(needed because the Sun implementation is package protected)
Constructor Summary |
MapEntry(java.lang.Object aKey,
java.lang.Object aValue)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MapEntry
public MapEntry(java.lang.Object aKey,
java.lang.Object aValue)
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interface java.util.Map.Entry
getKey
public java.lang.Object getKey()
- Specified by:
getKey
in interface java.util.Map.Entry
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface java.util.Map.Entry
hashCode
public int hashCode()
- Specified by:
hashCode
in interface java.util.Map.Entry
setValue
public java.lang.Object setValue(java.lang.Object aValue)
- Specified by:
setValue
in interface java.util.Map.Entry
toString
public java.lang.String toString()
Copyright © 2002 Mock Objects. All Rights Reserved.