Interface FieldSetReader<T>


public interface FieldSetReader<T>
Reads a value from a set of fields.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contains(int index)
    Indicates whether or not the specified index in contained in this field set.
    readField(T current)
    Reads a value from a field of a field set.
  • Method Details

    • readField

      T readField(T current) throws IOException
      Reads a value from a field of a field set.
      Parameters:
      current - the current field value
      Returns:
      the updated value.
      Throws:
      IOException - if the value could not be read.
    • contains

      boolean contains(int index)
      Indicates whether or not the specified index in contained in this field set.
      Parameters:
      index - a field index
      Returns:
      true, if the specified index in contained in this field set, false otherwise.