Index
All Classes and Interfaces|All Packages
C
- clear() - Method in class org.plumelib.util.WeakHasherMap
-
Removes all mappings from this map.
- clear() - Method in class org.plumelib.util.WeakIdentityHashMap
-
Removes all mappings from this map.
- Collections and iterators - Search tag in package org.plumelib.util
- Section
- containsKey(Object) - Method in class org.plumelib.util.WeakIdentityHashMap
-
Returns
trueif this map contains a mapping for the specified key. - containsKey(Object) - Method in class org.plumelib.util.WeakHasherMap
-
Returns
trueif this map contains a mapping for the specified key. - containsValue(Object) - Method in class org.plumelib.util.WeakIdentityHashMap
-
Returns
trueif this map maps one or more keys to the specified value.
E
- entrySet() - Method in class org.plumelib.util.WeakHasherMap
-
Returns a
Setview of the mappings in this map. - entrySet() - Method in class org.plumelib.util.WeakIdentityHashMap
-
Returns a collection view of the mappings contained in this map.
- equals(Object, Object) - Method in interface org.plumelib.util.Hasher
-
The equality function over the objects being hashed.
G
- get(Object) - Method in class org.plumelib.util.WeakIdentityHashMap
-
Returns the value to which the specified key is mapped in this weak hash map, or
nullif the map contains no mapping for this key. - get(Object) - Method in class org.plumelib.util.WeakHasherMap
-
Returns the value to which this map maps the specified
key.
H
- hashCode(Object) - Method in interface org.plumelib.util.Hasher
-
hashCode function for objects under consideration (not for Hasher objects).
- Hasher - Interface in org.plumelib.util
-
Hasheris intended to work likeComparable: it is an optional argument to a hashing data structure (such as some implementations ofHashSet,HashMap, orWeakHashMap) which specifies thehashCode()andequals()methods.
I
- isEmpty() - Method in class org.plumelib.util.WeakHasherMap
-
Returns
trueif this map contains no key-value mappings. - isEmpty() - Method in class org.plumelib.util.WeakIdentityHashMap
-
Returns
trueif this map contains no key-value mappings.
K
- keySet() - Method in class org.plumelib.util.WeakIdentityHashMap
-
Returns a set view of the keys contained in this map.
O
- org.plumelib.util - package org.plumelib.util
-
Plume-lib HashMap Util: Utility libraries for Java HashMaps
P
- Plume-lib HashMap Util: Utility libraries for Java HashMaps - Search tag in package org.plumelib.util
- Section
- put(K, V) - Method in class org.plumelib.util.WeakHasherMap
-
Updates this map so that the given
keymaps to the givenvalue. - put(K, V) - Method in class org.plumelib.util.WeakIdentityHashMap
-
Associates the specified value with the specified key in this map.
- putAll(Map<? extends K, ? extends V>) - Method in class org.plumelib.util.WeakIdentityHashMap
-
Copies all of the mappings from the specified map to this map.
R
- remove(Object) - Method in class org.plumelib.util.WeakHasherMap
-
Removes the mapping for the given
keyfrom this map, if present. - remove(Object) - Method in class org.plumelib.util.WeakIdentityHashMap
-
Removes the mapping for this key from this map if present.
S
- size() - Method in class org.plumelib.util.WeakHasherMap
-
Returns the number of key-value mappings in this map.
- size() - Method in class org.plumelib.util.WeakIdentityHashMap
-
Returns the number of key-value mappings in this map.
V
- values() - Method in class org.plumelib.util.WeakIdentityHashMap
-
Returns a collection view of the values contained in this map.
W
- WeakHasherMap<K,
V> - Class in org.plumelib.util -
This is a modified version of
WeakHashMapfrom JDK 1.2.2 that adds a constructor that takes aHasherargument. - WeakHasherMap() - Constructor for class org.plumelib.util.WeakHasherMap
-
Constructs a new, empty
WeakHashMapwith the default capacity and the default load factor, which is0.75. - WeakHasherMap(int) - Constructor for class org.plumelib.util.WeakHasherMap
-
Constructs a new, empty
WeakHashMapwith the given initial capacity and the default load factor, which is0.75. - WeakHasherMap(int, float) - Constructor for class org.plumelib.util.WeakHasherMap
-
Constructs a new, empty
WeakHashMapwith the given initial capacity and the given load factor. - WeakHasherMap(Hasher) - Constructor for class org.plumelib.util.WeakHasherMap
-
Constructs a new, empty
WeakHashMapwith the default capacity and the default load factor, which is0.75. - WeakIdentityHashMap<K,
V> - Class in org.plumelib.util -
This class combines the features of
WeakHashMapandIdentityHashMap. - WeakIdentityHashMap() - Constructor for class org.plumelib.util.WeakIdentityHashMap
-
Constructs a new, empty
WeakIdentityHashMapwith the default initial capacity (16) and the default load factor (0.75). - WeakIdentityHashMap(int) - Constructor for class org.plumelib.util.WeakIdentityHashMap
-
Constructs a new, empty
WeakIdentityHashMapwith the given initial capacity and the default load factor, which is0.75. - WeakIdentityHashMap(int, float) - Constructor for class org.plumelib.util.WeakIdentityHashMap
-
Constructs a new, empty
WeakIdentityHashMapwith the given initial capacity and the given load factor. - WeakIdentityHashMap(Map<? extends K, ? extends V>) - Constructor for class org.plumelib.util.WeakIdentityHashMap
-
Constructs a new
WeakIdentityHashMapwith the same mappings as the specifiedMap.
All Classes and Interfaces|All Packages