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

public class LazyDocumentMap.FieldNameList extends AbstractList
A List for field names in a Lucene Document.
Author:
John Weatherley
  • Constructor Details

    • FieldNameList

      public FieldNameList(List fieldList)
      Constructor for the FieldNameList object
      Parameters:
      fieldList - A List of Fields
  • Method Details

    • 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 class AbstractCollection
      Returns:
      Number of Fields