public interface IItemList<T> extends IItemCollection<T>
ISelector.| Modifier and Type | Method and Description |
|---|---|
T |
get(int index)
Gets the item at the given zero-based index.
|
int |
indexOf(T item)
Returns the index in this collection where the specified item is located.
|
void |
insert(int index,
T item)
Inserts an element into the collection at the specified index.
|
void |
removeAt(int index)
Removes the element at the specified index of the collection.
|
void |
set(int index,
T value)
Sets the item at the given zero-based index.
|
T get(int index)
index - The zero-based index of the item.void set(int index,
T value)
index - The zero-based index of the item.value - The object is being set to the specified index.int indexOf(T item)
item - The object to look for in the collection.void insert(int index,
T item)
index - The zero-based index at which to insert the item.item - The item to insert.void removeAt(int index)
index - The zero-based index of the element to remove.