org.eclipse.osgi.internal.module
Class VersionHashMap<V extends VersionSupplier>
java.lang.Object
org.eclipse.osgi.internal.module.MappedList<String,V>
org.eclipse.osgi.internal.module.VersionHashMap<V>
- All Implemented Interfaces:
- Comparator<V>
public class VersionHashMap<V extends VersionSupplier>
- extends MappedList<String,V>
- implements Comparator<V>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionHashMap
public VersionHashMap(ResolverImpl resolver)
insertionIndex
protected int insertionIndex(List<V> existing,
V value)
- Overrides:
insertionIndex in class MappedList<String,V extends VersionSupplier>
put
public void put(V[] versionSuppliers)
contains
public boolean contains(V vs)
remove
public V remove(V toBeRemoved)
remove
public void remove(V[] versionSuppliers)
compare
public int compare(V vs1,
V vs2)
- Specified by:
compare in interface Comparator<V extends VersionSupplier>
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.