com.esri.gpt.catalog.search
Class SearchParameterMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,SearchParameterMap.Value>
com.esri.gpt.catalog.search.SearchParameterMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,SearchParameterMap.Value>
public class SearchParameterMap
- extends LinkedHashMap<String,SearchParameterMap.Value>
The Class SearchParameterMap. Used by filters
to store save state parameter.
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(Object obj)
Checks equality of argument object. |
boolean |
equalsSubset(SearchParameterMap obj)
Since this class can be used to serialize classes, this equals is to
be used when comparing 2 class maps, as opposed to just comparing the 2
maps since a subclass may have a superset of key value pairs |
String |
toString()
|
SearchParameterMap
public SearchParameterMap()
equalsSubset
public boolean equalsSubset(SearchParameterMap obj)
- Since this class can be used to serialize classes, this equals is to
be used when comparing 2 class maps, as opposed to just comparing the 2
maps since a subclass may have a superset of key value pairs
- Parameters:
obj
- the object to be tested against
- Returns:
- true, if successful
equals
public boolean equals(Object obj)
- Checks equality of argument object. This is a straight map equals so
the size of the maps will be checked for equality apart from the key
value pairs.
- Specified by:
equals
in interface Map<String,SearchParameterMap.Value>
- Overrides:
equals
in class AbstractMap<String,SearchParameterMap.Value>
- Parameters:
obj
- Object to be evaluated
- Returns:
- true of false on evaluation
toString
public String toString()
- Overrides:
toString
in class AbstractMap<String,SearchParameterMap.Value>
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.