public class SortedServiceReferenceList extends Object implements List<org.osgi.framework.ServiceReference>
| Constructor and Description |
|---|
SortedServiceReferenceList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int arg0,
org.osgi.framework.ServiceReference arg1)
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
|
boolean |
add(org.osgi.framework.ServiceReference arg0)
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
|
boolean |
addAll(Collection<? extends org.osgi.framework.ServiceReference> arg0)
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
|
boolean |
addAll(int arg0,
Collection<? extends org.osgi.framework.ServiceReference> arg1)
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
|
void |
bindService(org.osgi.framework.ServiceReference ref)
Adds the newly bound OSGi service and its service reference to the internally maintained and
sorted serviceSet.
|
void |
clear()
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
|
boolean |
contains(Object arg0) |
boolean |
containsAll(Collection<?> arg0) |
org.osgi.framework.ServiceReference |
get(int arg0) |
int |
indexOf(Object arg0) |
boolean |
isEmpty() |
Iterator<org.osgi.framework.ServiceReference> |
iterator() |
int |
lastIndexOf(Object arg0) |
ListIterator<org.osgi.framework.ServiceReference> |
listIterator() |
ListIterator<org.osgi.framework.ServiceReference> |
listIterator(int arg0) |
org.osgi.framework.ServiceReference |
remove(int arg0)
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
|
boolean |
remove(Object arg0)
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
|
boolean |
removeAll(Collection<?> arg0)
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
|
boolean |
retainAll(Collection<?> arg0)
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
|
org.osgi.framework.ServiceReference |
set(int arg0,
org.osgi.framework.ServiceReference arg1)
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
|
int |
size() |
List<org.osgi.framework.ServiceReference> |
subList(int arg0,
int arg1) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] arg0) |
void |
unbindService(org.osgi.framework.ServiceReference ref)
Removes the newly bound OSGi service and its service reference to the internally maintained and
sorted serviceMap.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic void bindService(org.osgi.framework.ServiceReference ref)
ref - the OSGi service referencepublic void unbindService(org.osgi.framework.ServiceReference ref)
ref - the OSGi service referencepublic boolean add(org.osgi.framework.ServiceReference arg0)
add in interface Collection<org.osgi.framework.ServiceReference>add in interface List<org.osgi.framework.ServiceReference>public void add(int arg0,
org.osgi.framework.ServiceReference arg1)
public boolean addAll(Collection<? extends org.osgi.framework.ServiceReference> arg0)
addAll in interface Collection<org.osgi.framework.ServiceReference>addAll in interface List<org.osgi.framework.ServiceReference>public boolean addAll(int arg0,
Collection<? extends org.osgi.framework.ServiceReference> arg1)
public void clear()
clear in interface Collection<org.osgi.framework.ServiceReference>clear in interface List<org.osgi.framework.ServiceReference>public boolean contains(Object arg0)
contains in interface Collection<org.osgi.framework.ServiceReference>contains in interface List<org.osgi.framework.ServiceReference>public boolean containsAll(Collection<?> arg0)
containsAll in interface Collection<org.osgi.framework.ServiceReference>containsAll in interface List<org.osgi.framework.ServiceReference>public org.osgi.framework.ServiceReference get(int arg0)
public int indexOf(Object arg0)
public boolean isEmpty()
isEmpty in interface Collection<org.osgi.framework.ServiceReference>isEmpty in interface List<org.osgi.framework.ServiceReference>public Iterator<org.osgi.framework.ServiceReference> iterator()
public int lastIndexOf(Object arg0)
lastIndexOf in interface List<org.osgi.framework.ServiceReference>public ListIterator<org.osgi.framework.ServiceReference> listIterator()
listIterator in interface List<org.osgi.framework.ServiceReference>public ListIterator<org.osgi.framework.ServiceReference> listIterator(int arg0)
listIterator in interface List<org.osgi.framework.ServiceReference>public boolean remove(Object arg0)
remove in interface Collection<org.osgi.framework.ServiceReference>remove in interface List<org.osgi.framework.ServiceReference>public org.osgi.framework.ServiceReference remove(int arg0)
public boolean removeAll(Collection<?> arg0)
removeAll in interface Collection<org.osgi.framework.ServiceReference>removeAll in interface List<org.osgi.framework.ServiceReference>public boolean retainAll(Collection<?> arg0)
retainAll in interface Collection<org.osgi.framework.ServiceReference>retainAll in interface List<org.osgi.framework.ServiceReference>public org.osgi.framework.ServiceReference set(int arg0,
org.osgi.framework.ServiceReference arg1)
public int size()
size in interface Collection<org.osgi.framework.ServiceReference>size in interface List<org.osgi.framework.ServiceReference>public List<org.osgi.framework.ServiceReference> subList(int arg0, int arg1)
public Object[] toArray()
toArray in interface Collection<org.osgi.framework.ServiceReference>toArray in interface List<org.osgi.framework.ServiceReference>public <T> T[] toArray(T[] arg0)
toArray in interface Collection<org.osgi.framework.ServiceReference>toArray in interface List<org.osgi.framework.ServiceReference>This work is licensed under a Creative Commons Attribution 4.0 International License.