Modifier and Type | Class and Description |
---|---|
static class |
IdentityMap.IdentityKey |
static class |
IdentityMap.IdentityMapEntry |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
static Map.Entry[] |
concurrentEntries(Map map)
Return the map entries (as instances of Map.Entry in a collection that
is safe from concurrent modification).
|
boolean |
containsKey(Object key) |
boolean |
containsValue(Object val) |
static Map |
deserialize(Object o)
Workaround for a JDK 1.4.1 bug where IdentityHashMaps are not
correctly deserialized.
|
static List |
entries(Map map) |
Map.Entry[] |
entryArray() |
List |
entryList() |
Set |
entrySet() |
Object |
get(Object key) |
static Map |
instantiate(int size)
Return a new instance of this class, with an undefined
iteration order.
|
static Map |
instantiateSequenced(int size)
Return a new instance of this class, with iteration
order defined as the order in which entries were added
|
static Map |
invert(Map map) |
boolean |
isEmpty() |
Iterator |
keyIterator() |
static Iterator |
keyIterator(Map map) |
Set |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map otherMap) |
Object |
remove(Object key) |
static Object |
serialize(Map map)
Workaround for a JDK 1.4.1 bug where IdentityHashMaps are not
correctly deserialized.
|
int |
size() |
String |
toString() |
Collection |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public static Map instantiate(int size)
size
- The size of the mappublic static Map instantiateSequenced(int size)
size
- The size of the map to createpublic static Map.Entry[] concurrentEntries(Map map)
map
- public Iterator keyIterator()
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object val)
containsValue
in interface Map
public Collection values()
public List entryList()
public Map.Entry[] entryArray()
public static Object serialize(Map map)
map
- public static Map deserialize(Object o)
o
- Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved