LimeWire Collection Component API

org.limewire.collection
Interface RandomAccessMap<K,V>

All Superinterfaces:
Map<K,V>, RandomAccess
All Known Implementing Classes:
FixedSizeArrayHashMap, RandomOrderHashMap

public interface RandomAccessMap<K,V>
extends RandomAccess, Map<K,V>

A Map that can be retrieved through getAt methods.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 Map.Entry<K,V> getEntryAt(int i)
          Retrieves the entry at index i.
 K getKeyAt(int i)
          Retrieves the key at index i.
 V getValueAt(int i)
          Retrieves the value at index i.
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getKeyAt

K getKeyAt(int i)
Retrieves the key at index i.


getValueAt

V getValueAt(int i)
Retrieves the value at index i.


getEntryAt

Map.Entry<K,V> getEntryAt(int i)
Retrieves the entry at index i.


LimeWire Collection Component API

Copyright © 2008 Lime Wire LLC. All Rights Reserved.