org.eclipse.osgi.internal.module
Class MappedList<K,V>
java.lang.Object
org.eclipse.osgi.internal.module.MappedList<K,V>
- Direct Known Subclasses:
- VersionHashMap
public class MappedList<K,V>
- extends java.lang.Object
|
Field Summary |
protected java.util.List<V> |
empty
|
protected java.util.HashMap<K,java.util.List<V>> |
internal
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
internal
protected final java.util.HashMap<K,java.util.List<V>> internal
empty
protected final java.util.List<V> empty
MappedList
public MappedList()
put
public void put(K key,
V value)
insertionIndex
protected int insertionIndex(java.util.List<V> existing,
V value)
remove
public java.util.List<V> remove(K key)
get
public java.util.List<V> get(K key)
getSize
public int getSize()
getAllValues
public java.util.List<V> getAllValues()
clear
public void clear()
Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.