Class ListReader<E>

java.lang.Object
com.github.jinahya.bit.io.ListReader<E>
Type Parameters:
E - element type parameter
All Implemented Interfaces:
BitReader<List<E>>, ReadsCount<ListReader<E>>

public class ListReader<E> extends Object implements BitReader<List<E>>, ReadsCount<ListReader<E>>
A reader for reading lists of specific element type.
Author:
Jin Kwon <onacit_at_gmail.com>
See Also:
  • Constructor Details

    • ListReader

      public ListReader(BitReader<? extends E> elementReader)
      Creates a new instance for reading lists of specified element type using specified element reader.
      Parameters:
      elementReader - the reader for reading elements.
  • Method Details