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, values
equals, hashCode, toString
public 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>
IllegalArgumentException
HashMap.put(java.lang.Object, java.lang.Object)
Copyright © 1995-2015 Webtide. All Rights Reserved.