public class CopyOnUpdateSafeArray<T> extends Object implements ISafeArray<T>
ISafeArray| Constructor and Description |
|---|
CopyOnUpdateSafeArray() |
CopyOnUpdateSafeArray(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element)
Inserts the specified element at the specified position in this list.
|
void |
clear()
Clears the array
|
T |
get(int index)
Returns the element at the specified position in this list.
|
public CopyOnUpdateSafeArray()
public CopyOnUpdateSafeArray(int initialCapacity)
public void add(int index,
T element)
ISafeArrayadd in interface ISafeArray<T>index - index at which the specified element is to be inserted.element - element to be inserted.public T get(int index)
ISafeArrayget in interface ISafeArray<T>index - index of element to return.public void clear()
ISafeArrayclear in interface ISafeArray<T>Copyright © GigaSpaces.