public interface ISafeArray<T>
ArrayIndexOutOfBoundsException
might accord. Notice: This
implementation is not Thread safe.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.
|
T get(int index)
index
- index of element to return.void add(int index, T element)
index
- index at which the specified element is to be inserted.element
- element to be inserted.void clear()
Copyright © GigaSpaces.