public class OsgiServiceSortedSet extends OsgiServiceSet implements java.util.SortedSet
OsgiServiceCollection.OsgiServiceIterator| Modifier and Type | Field and Description |
|---|---|
private java.util.Comparator |
comparator |
private java.util.SortedSet |
storage
cast the collection to a specialized collection
|
services, servicesIdMap| Constructor and Description |
|---|
OsgiServiceSortedSet(org.osgi.framework.Filter filter,
org.osgi.framework.BundleContext context,
java.lang.ClassLoader classLoader,
java.util.Comparator comparator,
ServiceProxyCreator proxyCreator,
boolean useServiceReferences) |
OsgiServiceSortedSet(org.osgi.framework.Filter filter,
org.osgi.framework.BundleContext context,
java.lang.ClassLoader classLoader,
ServiceProxyCreator proxyCreator,
boolean useServiceReferences) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator |
comparator() |
protected DynamicCollection |
createInternalDynamicStorage()
Create the dynamic storage used internally.
|
java.lang.Object |
first() |
java.util.SortedSet |
headSet(java.lang.Object toElement) |
java.lang.Object |
last() |
java.util.SortedSet |
subSet(java.lang.Object fromElement,
java.lang.Object toElement) |
java.util.SortedSet |
tailSet(java.lang.Object fromElement) |
add, addAll, afterPropertiesSet, clear, contains, containsAll, destroy, isEmpty, isSatisfied, iterator, mandatoryServiceCheck, remove, removeAll, retainAll, setListeners, setRequiredAtStartup, setServiceImporter, setServiceImporterName, setStateListeners, setUseBlueprintExceptions, size, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprivate java.util.SortedSet storage
private final java.util.Comparator comparator
public OsgiServiceSortedSet(org.osgi.framework.Filter filter,
org.osgi.framework.BundleContext context,
java.lang.ClassLoader classLoader,
ServiceProxyCreator proxyCreator,
boolean useServiceReferences)
public OsgiServiceSortedSet(org.osgi.framework.Filter filter,
org.osgi.framework.BundleContext context,
java.lang.ClassLoader classLoader,
java.util.Comparator comparator,
ServiceProxyCreator proxyCreator,
boolean useServiceReferences)
protected DynamicCollection createInternalDynamicStorage()
OsgiServiceCollectioncreateInternalDynamicStorage in class OsgiServiceSetpublic java.util.Comparator comparator()
comparator in interface java.util.SortedSetpublic java.lang.Object first()
first in interface java.util.SortedSetpublic java.lang.Object last()
last in interface java.util.SortedSetpublic java.util.SortedSet tailSet(java.lang.Object fromElement)
tailSet in interface java.util.SortedSetpublic java.util.SortedSet headSet(java.lang.Object toElement)
headSet in interface java.util.SortedSetpublic java.util.SortedSet subSet(java.lang.Object fromElement,
java.lang.Object toElement)
subSet in interface java.util.SortedSet