Class MatrixMap.SemanticList<T>
java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractList<T>
org.nuiton.util.MatrixMap.SemanticList<T>
- Type Parameters:
T- FIXME
- All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>, RandomAccess, SequencedCollection<T>
Collection particuliere utilisee pour la stockage des semantiques.
Sert a optimiser la recherche de la position d'une donnee dans la liste. Permet aussi de verifier qu'on ajoute pas de doublon dans la liste
- Since:
- 2.2.1
- Author:
- Benjamin Poussin - poussin@codelutin.com
-
Field Summary
FieldsFields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractList
add, addAll, clear, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Field Details
-
datas
-
index
-
-
Constructor Details
-
SemanticList
public SemanticList() -
SemanticList
-
-
Method Details
-
get
-
add
-
set
-
remove
-
size
public int size()- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein interfaceList<T>- Specified by:
sizein classAbstractCollection<T>
-
indexOf
-
getIndex
-