public class HostMap<TYPE> extends HashMap<String,TYPE>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HostMap()
Construct empty HostMap.
|
HostMap(int capacity)
Construct empty HostMap.
|
| Modifier and Type | Method and Description |
|---|---|
TYPE |
get(Object key) |
Object |
getLazyMatches(String host)
Retrieve a lazy list of map entries associated with specified
hostname by taking into account the domain suffix matches.
|
TYPE |
put(String host,
TYPE object) |
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, putAll, remove, size, valuesequals, hashCode, toStringpublic HostMap()
public HostMap(int capacity)
capacity - initial capacitypublic TYPE put(String host, TYPE object) throws IllegalArgumentException
put in interface Map<String,TYPE>put in class HashMap<String,TYPE>IllegalArgumentExceptionHashMap.put(java.lang.Object, java.lang.Object)Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.