public class DefaultWildcardMap extends Object implements WildcardMap
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_TOPLEVEL_SIZE |
| Constructor and Description |
|---|
DefaultWildcardMap() |
DefaultWildcardMap(int topLevelSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
clear this map
|
Object |
getNoExpansion(Object key)
Returns the value to which this map maps the specified key.
|
Object[] |
getWithExpansion(Object key)
Returns the value to which this map maps the specified key.
|
Object |
put(Object key,
Object value)
The operation
put associates the specified value with the specified key in
this map. |
Object |
remove(Object key)
remove the specified key from this Map.
|
String |
toString() |
public static final int DEFAULT_TOPLEVEL_SIZE
public DefaultWildcardMap(int topLevelSize)
public DefaultWildcardMap()
public void clear()
WildcardMapclear in interface WildcardMappublic Object remove(Object key)
WildcardMapremove in interface WildcardMappublic Object put(Object key, Object value)
WildcardMapput associates the specified value with the specified key in
this map. The String representation of the Key toString()
is used. If the map previously contained a mapping for this key, the old value is replaced by
the specified value.put in interface WildcardMapkey - key with which String representation the specified value is to be associated.value - value to be associated with the specified key.public Object getNoExpansion(Object key)
WildcardMapgetNoExpansion in interface WildcardMapkey - key whose associated value is to be returnedpublic Object[] getWithExpansion(Object key)
WildcardMapgetWithExpansion in interface WildcardMapkey - key whose associated value is to be returnedCopyright © 2015 JacORB. All rights reserved.