| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public TYPE | get(Object
the key whose associated value is to be returned key)Overrides java. Implements java. Returns the value to which the specified key is mapped,
or |
| public Object | Returns: lazy list of map entrieshostname host)Retrieve a lazy list of map entries associated with specified hostname by taking into account the domain suffix matches. |
| public TYPE | put(String
key with which the specified value is to be associated host, TYPE value to be associated with the specified key object)Overrides java. Implements java. Associates the specified value with the specified key in this map. |
| HostMap | back to summary |
|---|---|
| public HostMap() Construct empty HostMap. | |
| HostMap | back to summary |
|---|---|
| public HostMap(int capacity) Construct empty HostMap.
| |
| get | back to summary |
|---|---|
| public TYPE get(Object key) Overrides java. Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
A return value of
| |
| getLazyMatches | back to summary |
|---|---|
| public Object getLazyMatches(String host) Retrieve a lazy list of map entries associated with specified hostname by taking into account the domain suffix matches. | |
| put | back to summary |
|---|---|
| public TYPE put(String host, TYPE object) throws IllegalArgumentException Overrides java. Implements java. Doc from java. Associates the specified value with the specified key in this map. If the map previously contained a mapping for the key, the old value is replaced.
| |