| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04  | 
|||||||||
| 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,E>
oracle.javatools.util.Maps.AbstractLinkedHashMap<K,V,Maps.DefaultLinkedEntry<K,V>>
oracle.javatools.util.Maps.LinkedHashMap<K,V>
public static class Maps.LinkedHashMap<K,V>
The default implementation of Maps.AbstractLinkedHashMap, based on
 Maps.DefaultLinkedEntry. Maps.AbstractLinkedHashMap is a drop-in replacement 
 for LinkedHashMap which additionally exposes the 
 subclass hooks provided by Maps.AbstractHashMap.
LinkedHashMap, 
Serialized Form| 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.LinkedHashMap()
Constructs an empty insertion-ordered map with default capacity and load factor.  | 
|
Maps.LinkedHashMap(int initialCapacity)
Constructs an empty insertion-ordered map with specified initial capacity and default load factor.  | 
|
Maps.LinkedHashMap(int initialCapacity,
                   float loadFactor)
Constructs an empty insertion-ordered map with specified initial capacity and load factor.  | 
|
Maps.LinkedHashMap(int initialCapacity,
                   float loadFactor,
                   boolean accessOrder)
Constructs an empty map with specified initial capacity, load factor, and iteration order.  | 
|
Maps.LinkedHashMap(java.util.Map<? extends K,? extends V> map)
Constructs an insertion-ordered map with specified initial mappings, initial capacity based on the number of initial mappings, and default load factor.  | 
|
| Method Summary | |
|---|---|
protected  Maps.DefaultLinkedEntry<K,V> | 
createEntry(int hash,
            K key,
            V value,
            Maps.DefaultLinkedEntry<K,V> next)
Creates an entry for this map.  | 
| Methods inherited from class oracle.javatools.util.Maps.AbstractLinkedHashMap | 
|---|
clear, createEntryIterator, createEntrySetIterator, createKeySetIterator, createValuesIterator, entryEvicted, evictExistingEntry, getEldestEntry, mapChanged, removeEldestEntry | 
| Methods inherited from class oracle.javatools.util.Maps.AbstractHashMap | 
|---|
addEntry, capacity, change, clone, containsKey, containsValue, entryAccessed, entryAdded, entryChanged, entryPurged, entryRemoved, entrySet, equals, get, getChangeCount, getEntry, getQueue, hashCode, isEmpty, keyEquals, keyHashCode, keySet, loadFactor, 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.LinkedHashMap()
Maps.AbstractHashMap.DEFAULT_INITIAL_CAPACITY, 
Maps.AbstractHashMap.DEFAULT_LOAD_FACTORpublic Maps.LinkedHashMap(int initialCapacity)
initialCapacity - the initial capacity.
java.lang.IllegalArgumentException - if the initial capacity is negative.Maps.AbstractHashMap.DEFAULT_LOAD_FACTOR
public Maps.LinkedHashMap(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.LinkedHashMap(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
public Maps.LinkedHashMap(int initialCapacity,
                          float loadFactor,
                          boolean accessOrder)
initialCapacity - the initial capacity.loadFactor - the load factor.accessOrder - true if iteration is access-ordered, false if
                        iteration-ordered.
java.lang.IllegalArgumentException - if the initial capacity is negative
                                  or the load factor is nonpositive.| Method Detail | 
|---|
protected Maps.DefaultLinkedEntry<K,V> createEntry(int hash,
                                                   K key,
                                                   V value,
                                                   Maps.DefaultLinkedEntry<K,V> next)
Maps.AbstractLinkedHashMap implementation creates Maps.DefaultLinkedEntry entries.
createEntry in class Maps.AbstractHashMap<K,V,Maps.DefaultLinkedEntry<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) E13403-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||