Class CsvToBean.CsvToBeanIterator

  • All Implemented Interfaces:
    java.util.Iterator<T>
    Enclosing class:
    CsvToBean<T>

    private class CsvToBean.CsvToBeanIterator
    extends java.lang.Object
    implements java.util.Iterator<T>
    A private inner class for implementing an iterator for the input data.
    • Field Detail

      • resultantBeansQueue

        private final java.util.concurrent.BlockingQueue<OrderedObject<T>> resultantBeansQueue
      • line

        private java.lang.String[] line
      • lineProcessed

        private long lineProcessed
      • bean

        private T bean
    • Constructor Detail

      • CsvToBeanIterator

        CsvToBeanIterator()
    • Method Detail

      • processException

        private void processException()
      • readSingleLine

        private void readSingleLine()
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<T>
      • next

        public T next()
        Specified by:
        next in interface java.util.Iterator<T>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<T>