DLESE Tools
v1.6.0

org.dlese.dpc.index.reader
Class LazyDocumentMap.FieldNameList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList
          extended by org.dlese.dpc.index.reader.LazyDocumentMap.FieldNameList
All Implemented Interfaces:
Iterable, Collection, List, Set
Enclosing class:
LazyDocumentMap

public class LazyDocumentMap.FieldNameList
extends AbstractList
implements Set

A List for field names in a Lucene Document.

Author:
John Weatherley

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
LazyDocumentMap.FieldNameList(List fieldList)
          Constructor for the FieldNameList object
 
Method Summary
 Object get(int i)
          Gets a field name String at the given position
protected  List getFieldList()
           
 int size()
          Number of Fields in the Document
 String toString()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, toArray, toArray
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

LazyDocumentMap.FieldNameList

public LazyDocumentMap.FieldNameList(List fieldList)
Constructor for the FieldNameList object

Parameters:
fieldList - A List of Fields
Method Detail

getFieldList

protected List getFieldList()

toString

public String toString()
Overrides:
toString in class AbstractCollection

get

public Object get(int i)
Gets a field name String at the given position

Specified by:
get in interface List
Specified by:
get in class AbstractList
Parameters:
i - Postion
Returns:
Field name String

size

public int size()
Number of Fields in the Document

Specified by:
size in interface Collection
Specified by:
size in interface List
Specified by:
size in interface Set
Specified by:
size in class AbstractCollection
Returns:
Number of Fields

DLESE Tools
v1.6.0