Esri Geoportal Server
1.0

com.esri.gpt.catalog.search
Class SearchParameterMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,SearchParameterMap.Value>
              extended by 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

Nested Class Summary
 class SearchParameterMap.Value
          The Class Value.
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
SearchParameterMap()
           
 
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()
           
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

SearchParameterMap

public SearchParameterMap()
Method Detail

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>

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.