|
LimeWire Collection Component API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<K,V>
org.limewire.collection.FixedSizeArrayHashMap<K,V>
org.limewire.collection.RandomOrderHashMap<K,V>
public class RandomOrderHashMap<K,V>
A variant of FixedSizeArrayHashMap that allows iterations over its elements in random order.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
RandomOrderHashMap(int maxCapacity)
|
|
RandomOrderHashMap(int maxSize,
int initialCapacity,
float loadFactor)
|
|
RandomOrderHashMap(int maxCapacity,
Map<? extends K,? extends V> m)
|
|
RandomOrderHashMap(Map<? extends K,? extends V> m)
|
|
| Method Summary | |
|---|---|
protected Iterator<Map.Entry<K,V>> |
newEntryIterator()
|
| Methods inherited from class org.limewire.collection.FixedSizeArrayHashMap |
|---|
clear, clone, entrySet, getEntryAt, getKeyAt, getValueAt, keySet, put, remove, values |
| Methods inherited from class java.util.HashMap |
|---|
containsKey, containsValue, get, isEmpty, putAll, size |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
containsKey, containsValue, equals, get, hashCode, isEmpty, putAll, size |
| Constructor Detail |
|---|
public RandomOrderHashMap(Map<? extends K,? extends V> m)
public RandomOrderHashMap(int maxCapacity,
Map<? extends K,? extends V> m)
public RandomOrderHashMap(int maxSize,
int initialCapacity,
float loadFactor)
public RandomOrderHashMap(int maxCapacity)
| Method Detail |
|---|
protected Iterator<Map.Entry<K,V>> newEntryIterator()
newEntryIterator in class FixedSizeArrayHashMap<K,V>
|
LimeWire Collection Component API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||