com.mockobjects

Class MapEntry

Implemented Interfaces:
Map.Entry

public class MapEntry
extends java.lang.Object
implements 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(Object aKey, Object aValue)

Method Summary

boolean
equals(Object o)
Object
getKey()
Object
getValue()
int
hashCode()
Object
setValue(Object aValue)
String
toString()

Constructor Details

MapEntry

public MapEntry(Object aKey,
                Object aValue)

Method Details

equals

public boolean equals(Object o)

getKey

public Object getKey()

getValue

public Object getValue()

hashCode

public int hashCode()

setValue

public Object setValue(Object aValue)

toString

public String toString()

Copyright © 2002 Mock Objects. All Rights Reserved.