public class LazyDocumentMap.FieldValuesList
extends java.util.AbstractList
Constructor and Description |
---|
FieldValuesList() |
FieldValuesList(org.apache.lucene.document.Document myDoc,
LazyDocumentMap.FieldNameList fieldNameList)
Constructor for the FieldValuesList object
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(int i)
Gets a field values String at the given position
|
java.util.Map.Entry |
getAllValues(java.lang.String fieldName)
Gets a field values String for the given field.
|
int |
size()
Number of field values in the Document
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public FieldValuesList(org.apache.lucene.document.Document myDoc, LazyDocumentMap.FieldNameList fieldNameList)
myDoc
- Lucene Documentpublic FieldValuesList()
public java.lang.Object get(int i)
get
in interface java.util.List
get
in class java.util.AbstractList
i
- Postionpublic java.util.Map.Entry getAllValues(java.lang.String fieldName)
fieldName
- Field namepublic int size()
size
in interface java.util.Collection
size
in interface java.util.List
size
in class java.util.AbstractCollection