Class FieldMapByPositionEntry<T>

  • Type Parameters:
    T - The type of the bean being converted

    public class FieldMapByPositionEntry<T>
    extends java.lang.Object
    Represents one entry in FieldMapByPosition. Note: This is not used in the internal structure of FieldMapByPosition, but rather when representing its contents to the outside world.
    Since:
    4.2
    Author:
    Andrew Rucker Jones
    • Constructor Detail

      • FieldMapByPositionEntry

        public FieldMapByPositionEntry​(int position,
                                       BeanField<T,​java.lang.Integer> field)
        Initializes this entry.
        Parameters:
        position - The position from the CSV input
        field - The field associated with this position
    • Method Detail

      • getPosition

        public int getPosition()
        Returns:
        The column position with which this entry was initialized
      • getField

        public BeanField<T,​java.lang.Integer> getField()
        Returns:
        The BeanField with which this entry was initialized