Package org.dlese.dpc.index.reader
Class LazyDocumentMap.FieldNameList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
org.dlese.dpc.index.reader.LazyDocumentMap.FieldNameList
- All Implemented Interfaces:
Iterable,Collection,List,SequencedCollection
- Enclosing class:
LazyDocumentMap
A List for field names in a Lucene Document.
- Author:
- John Weatherley
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Constructor Details
-
FieldNameList
Constructor for the FieldNameList object- Parameters:
fieldList- A List of Fields
-
-
Method Details
-
getFieldList
-
toString
- Overrides:
toStringin classAbstractCollection
-
get
Gets a field name String at the given position- Specified by:
getin interfaceList- Specified by:
getin classAbstractList- Parameters:
i- Postion- Returns:
- Field name String
-
size
public int size()Number of Fields in the Document- Specified by:
sizein interfaceCollection- Specified by:
sizein interfaceList- Specified by:
sizein classAbstractCollection- Returns:
- Number of Fields
-