public class ServiceIndex extends SortedObjectIndex<Service>
hoard| Constructor and Description |
|---|
ServiceIndex() |
| Modifier and Type | Method and Description |
|---|---|
<S extends Service> |
getNextService(Class<S> c,
Class<? extends S> ref)
Gets the highest priority service compatible with class
c, which is
lower priority than the ref service. |
<S extends Service> |
getPrevService(Class<S> c,
Class<? extends S> ref)
Gets the lowest priority service compatible with class
c, which is
higher priority than the ref service. |
<S extends Service> |
getService(Class<S> c)
Gets the first available service compatible with the given class.
|
addAll, addToList, contains, containsAlladd, add, add, addLater, clear, get, getAll, getBaseClass, getType, getTypes, isEmpty, iterator, remove, remove, remove, removeAll, removeFromList, retainAll, retrieveList, retrieveListsForType, size, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic <S extends Service> S getService(Class<S> c)
public <S extends Service> S getNextService(Class<S> c, Class<? extends S> ref)
c, which is
lower priority than the ref service.Copyright © 2015–2022 SciJava. All rights reserved.