public abstract class MapMapping extends java.lang.Object implements Mapping
| Red (ssb) |
| Red (ssb) |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map |
_map
The Map on which this Mapping is based.
|
| Constructor and Description |
|---|
MapMapping(java.util.Map map)
Construct a MapMapping from a given Map.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Return true if the given object is of the same Class and based
on the same Map as this one.
|
int |
hashCode()
Return the hash code of this MapMapping.
|
boolean |
inDomain(java.lang.Object object)
Return true if the given object is a key in the Map that is associated
with this mapping.
|
java.lang.String |
toString()
Return a string representation of this MapMapping.
|
public MapMapping(java.util.Map map)
map - The given map.public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - The given object.public int hashCode()
hashCode in class java.lang.Objectpublic boolean inDomain(java.lang.Object object)
public java.lang.String toString()
toString in class java.lang.Object