protected static class AbstractWorkingSetUpdater.WorkingSetDelta
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
indexOf(java.lang.Object element)
Returns the index of the first occurrence of the given element in
this delta, or -1 if this delta does not contain the element.
|
void |
remove(int index)
Removes the element at the given index in this delta.
|
void |
set(int index,
org.eclipse.core.runtime.IAdaptable element)
Replaces the element at the given index in this delta with the given
element.
|
public int indexOf(java.lang.Object element)
element
- the element to search forpublic void set(int index, org.eclipse.core.runtime.IAdaptable element)
index
- the index of the element to replaceelement
- the element to be stored at the given index
(not null
)java.lang.IndexOutOfBoundsException
- if the index is out of rangepublic void remove(int index)
index
- the index of the element to be removedjava.lang.IndexOutOfBoundsException
- if the index is out of rangeCopyright (c) 2014, 2018 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0