org.nuiton.math.matrix
Class SemanticList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
org.nuiton.math.matrix.SemanticList<T>
- Type Parameters:
T - elements type
- All Implemented Interfaces:
- Iterable<T>, Collection<T>, List<T>, RandomAccess
public class SemanticList<T>
- extends AbstractList<T>
- implements RandomAccess
SemanticList.
Created: 6 sept. 06 17:18:23
- Version:
- $Revision: 323 $
Last update: $Date: 2011-01-22 10:32:20 +0100 (sam., 22 janv. 2011) $
by : $Author: tchemit $
- Author:
- poussin
| Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
datas
protected ArrayList<T> datas
index
protected Map<Object,Integer> index
SemanticList
public SemanticList(Collection<T> c)
get
public T get(int index)
- Specified by:
get in interface List<T>- Specified by:
get in class AbstractList<T>
size
public int size()
- Specified by:
size in interface Collection<T>- Specified by:
size in interface List<T>- Specified by:
size in class AbstractCollection<T>
indexOf
public int indexOf(Object o)
- Specified by:
indexOf in interface List<T>- Overrides:
indexOf in class AbstractList<T>
getIndex
protected Map<Object,Integer> getIndex()
Copyright © 2004-2011 CodeLutin. All Rights Reserved.