org.limewire.collection
Class RandomOrderHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
org.limewire.collection.FixedSizeArrayHashMap<K,V>
org.limewire.collection.RandomOrderHashMap<K,V>
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<K,V>, java.util.RandomAccess, RandomAccessMap<K,V>
public class RandomOrderHashMap<K,V>
- extends FixedSizeArrayHashMap<K,V>
A variant of FixedSizeArrayHashMap that allows iterations over
its elements in random order.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
| 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 |
RandomOrderHashMap
public RandomOrderHashMap(java.util.Map<? extends K,? extends V> m)
RandomOrderHashMap
public RandomOrderHashMap(int maxCapacity,
java.util.Map<? extends K,? extends V> m)
RandomOrderHashMap
public RandomOrderHashMap(int maxSize,
int initialCapacity,
float loadFactor)
RandomOrderHashMap
public RandomOrderHashMap(int maxCapacity)
newEntryIterator
protected java.util.Iterator<java.util.Map.Entry<K,V>> newEntryIterator()
- Overrides:
newEntryIterator in class FixedSizeArrayHashMap<K,V>
Copyright © 2009 Lime Wire LLC. All Rights Reserved.