Class TermVector
- All Implemented Interfaces:
Iterable<Term>, Collection<Term>, List<Term>, RandomAccess, SequencedCollection<Term>
-
Constructor Summary
ConstructorsConstructorDescriptionTermVector(int count, Term value) TermVector(Term[] initialElements) TermVector(TermVector other) TermVector(Iterable<Term> initialElements) -
Method Summary
Methods inherited from class AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, 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, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Constructor Details
-
TermVector
-
TermVector
-
TermVector
public TermVector() -
TermVector
-
TermVector
-
-
Method Details
-
delete
public void delete() -
get
-
set
-
add
- Specified by:
addin interfaceCollection<Term>- Specified by:
addin interfaceList<Term>- Overrides:
addin classAbstractList<Term>
-
add
-
remove
-
size
public int size()- Specified by:
sizein interfaceCollection<Term>- Specified by:
sizein interfaceList<Term>- Specified by:
sizein classAbstractCollection<Term>
-
capacity
public int capacity() -
reserve
public void reserve(int n) -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<Term>- Specified by:
isEmptyin interfaceList<Term>- Overrides:
isEmptyin classAbstractCollection<Term>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Term>- Specified by:
clearin interfaceList<Term>- Overrides:
clearin classAbstractList<Term>
-