|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.util.Maps.AbstractHashMap<K,V,Maps.StrongEntry<K,V>>
oracle.javatools.util.Maps.StrongHashMap<K,V>
public static class Maps.StrongHashMap<K,V>
The default implementation of Maps.AbstractHashMap, based on Maps.StrongEntry. Maps.StrongHashMap is a drop-in replacement for HashMap which additionally exposes the subclass hooks provided
by Maps.AbstractHashMap.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Field Summary |
|---|
| Fields inherited from class oracle.javatools.util.Maps.AbstractHashMap |
|---|
DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR, MAXIMUM_CAPACITY |
| Constructor Summary | |
|---|---|
Maps.StrongHashMap()
Constructs an empty map with default capacity and load factor. |
|
Maps.StrongHashMap(int initialCapacity)
Constructs an empty map with specified initial capacity and default load factor. |
|
Maps.StrongHashMap(int initialCapacity,
float loadFactor)
Constructs an empty map with specified initial capacity and load factor. |
|
Maps.StrongHashMap(java.util.Map<? extends K,? extends V> map)
Constructs a map with specified initial mappings, initial capacity based on the number of initial mappings, and default load factor. |
|
| Method Summary | |
|---|---|
protected Maps.StrongEntry<K,V> |
createEntry(int hash,
K key,
V value,
Maps.StrongEntry<K,V> next)
Creates an entry for this map. |
| Methods inherited from class oracle.javatools.util.Maps.AbstractHashMap |
|---|
addEntry, capacity, change, clear, clone, containsKey, containsValue, createEntryIterator, createEntrySetIterator, createKeySetIterator, createValuesIterator, entryAccessed, entryAdded, entryChanged, entryPurged, entryRemoved, entrySet, equals, get, getChangeCount, getEntry, getQueue, hashCode, isEmpty, keyEquals, keyHashCode, keySet, loadFactor, mapChanged, mapConstructed, mapInitialized, purge, purgeEntry, put, putAll, remove, removeExistingEntry, removeKey, size, toString, valueEquals, valueHashCode, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Maps.StrongHashMap()
Maps.AbstractHashMap.DEFAULT_INITIAL_CAPACITY,
Maps.AbstractHashMap.DEFAULT_LOAD_FACTORpublic Maps.StrongHashMap(int initialCapacity)
initialCapacity - the initial capacity.
java.lang.IllegalArgumentException - if the initial capacity is negative.Maps.AbstractHashMap.DEFAULT_LOAD_FACTOR
public Maps.StrongHashMap(int initialCapacity,
float loadFactor)
initialCapacity - the initial capacity.loadFactor - the load factor.
java.lang.IllegalArgumentException - if the initial capacity is negative
or the load factor is nonpositive.public Maps.StrongHashMap(java.util.Map<? extends K,? extends V> map)
map - A map providing initial mappings.
java.lang.NullPointerException - if the specified map is null.Maps.AbstractHashMap.DEFAULT_LOAD_FACTOR| Method Detail |
|---|
protected Maps.StrongEntry<K,V> createEntry(int hash,
K key,
V value,
Maps.StrongEntry<K,V> next)
Maps.StrongHashMap implementation creates Maps.StrongEntry
entries.
createEntry in class Maps.AbstractHashMap<K,V,Maps.StrongEntry<K,V>>hash - The hashCode of the key for this entry.key - The key for this entry.value - The value for this entry.next - The entry to follow this entry in the entry chain.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||