LimeWire collection component api

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

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

public interface RandomAccessMap<K,V>
extends java.util.RandomAccess, java.util.Map<K,V>

A Map that can be retrieved through getAt methods.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 java.util.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

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


LimeWire collection component api

Copyright © 2009 Lime Wire LLC. All Rights Reserved.