TYPE
- the element typepublic class HostMap<TYPE>
extends java.util.HashMap<java.lang.String,TYPE>
Constructor and Description |
---|
HostMap()
Construct empty HostMap.
|
HostMap(int capacity)
Construct empty HostMap.
|
Modifier and Type | Method and Description |
---|---|
TYPE |
get(java.lang.Object key) |
java.lang.Object |
getLazyMatches(java.lang.String host)
Retrieve a lazy list of map entries associated with specified
hostname by taking into account the domain suffix matches.
|
TYPE |
put(java.lang.String host,
TYPE object) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public HostMap()
public HostMap(int capacity)
capacity
- initial capacitypublic TYPE get(java.lang.Object key)
public java.lang.Object getLazyMatches(java.lang.String host)
host
- hostnameCopyright © 1995–2023 Webtide. All rights reserved.