T - public static class MatrixMap.SemanticList<T> extends AbstractList<T> implements RandomAccess
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<T> |
datas |
protected Map<T,Integer> |
index |
modCount| Constructor and Description |
|---|
MatrixMap.SemanticList() |
MatrixMap.SemanticList(Collection<T> c) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
T |
get(int index) |
protected Map<T,Integer> |
getIndex() |
int |
indexOf(Object o) |
T |
remove(int index) |
T |
set(int index,
T element) |
int |
size() |
add, addAll, clear, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringpublic MatrixMap.SemanticList()
public MatrixMap.SemanticList(Collection<T> c)
public T get(int index)
public void add(int index,
T element)
public T remove(int index)
public int size()
size in interface Collection<T>size in interface List<T>size in class AbstractCollection<T>public int indexOf(Object o)
Copyright © 2004-2012 CodeLutin. All Rights Reserved.