private static class LocaleConvertUtilsBean.DelegateFastHashMap extends FastHashMap
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map |
map |
fast| Modifier | Constructor and Description |
|---|---|
private |
LocaleConvertUtilsBean.DelegateFastHashMap(java.util.Map map) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all mappings from this map.
|
boolean |
containsKey(java.lang.Object key)
Return
true if this map contains a mapping for the
specified key. |
boolean |
containsValue(java.lang.Object value)
Return
true if this map contains one or more keys mapping
to the specified value. |
java.util.Set |
entrySet()
Return a collection view of the mappings contained in this map.
|
boolean |
equals(java.lang.Object o)
Compare the specified object with this list for equality.
|
java.lang.Object |
get(java.lang.Object key)
Return the value to which this map maps the specified key.
|
boolean |
getFast()
Returns true if this map is operating in fast mode.
|
int |
hashCode()
Return the hash code value for this map.
|
boolean |
isEmpty()
Return
true if this map contains no mappings. |
java.util.Set |
keySet()
Return a set view of the keys contained in this map.
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Associate the specified value with the specified key in this map.
|
void |
putAll(java.util.Map m)
Copy all of the mappings from the specified map to this one, replacing
any mappings with the same keys.
|
java.lang.Object |
remove(java.lang.Object key)
Remove any mapping for this key, and return any previously
mapped value.
|
void |
setFast(boolean fast)
Sets whether this map is operating in fast mode.
|
int |
size()
Return the number of key-value mappings in this map.
|
java.util.Collection |
values()
Return a collection view of the values contained in this map.
|
cloneprivate LocaleConvertUtilsBean.DelegateFastHashMap(java.util.Map map)
public void clear()
FastHashMapclear in interface java.util.Mapclear in class FastHashMappublic boolean containsKey(java.lang.Object key)
FastHashMaptrue if this map contains a mapping for the
specified key.containsKey in interface java.util.MapcontainsKey in class FastHashMapkey - the key to be searched forpublic boolean containsValue(java.lang.Object value)
FastHashMaptrue if this map contains one or more keys mapping
to the specified value.containsValue in interface java.util.MapcontainsValue in class FastHashMapvalue - the value to be searched forpublic java.util.Set entrySet()
FastHashMapMap.Entry.entrySet in interface java.util.MapentrySet in class FastHashMappublic boolean equals(java.lang.Object o)
FastHashMapMap.equals method.equals in interface java.util.Mapequals in class FastHashMapo - the object to be compared to this listpublic java.lang.Object get(java.lang.Object key)
FastHashMapnull if the map contains no mapping for this key, or if
there is a mapping with a value of null. Use the
containsKey() method to disambiguate these cases.get in interface java.util.Mapget in class FastHashMapkey - the key whose value is to be returnedpublic int hashCode()
FastHashMapMap.hashCode method.hashCode in interface java.util.MaphashCode in class FastHashMappublic boolean isEmpty()
FastHashMaptrue if this map contains no mappings.isEmpty in interface java.util.MapisEmpty in class FastHashMappublic java.util.Set keySet()
FastHashMapkeySet in interface java.util.MapkeySet in class FastHashMappublic java.lang.Object put(java.lang.Object key,
java.lang.Object value)
FastHashMapput in interface java.util.Mapput in class FastHashMapkey - the key with which the value is to be associatedvalue - the value to be associated with this keypublic void putAll(java.util.Map m)
FastHashMapputAll in interface java.util.MapputAll in class FastHashMapm - the map whose mappings are to be copiedpublic java.lang.Object remove(java.lang.Object key)
FastHashMapremove in interface java.util.Mapremove in class FastHashMapkey - the key whose mapping is to be removedpublic int size()
FastHashMapsize in interface java.util.Mapsize in class FastHashMappublic java.util.Collection values()
FastHashMapvalues in interface java.util.Mapvalues in class FastHashMappublic boolean getFast()
FastHashMapgetFast in class FastHashMappublic void setFast(boolean fast)
FastHashMapsetFast in class FastHashMapfast - true if this map should operate in fast modeCopyright (c) 2000-2008 - Apache Software Foundation