The SequenceReader reads a predefined number of elements of type A.
The number of elements can be passed when constructing the reader or in the read call.
ASCII/String example for A:Double
"1.0 2.0 3.0 4.0 5.0 ..." => read(2,scanner) reads 2 elements of type A and returns then Seq(1.0,2.0)
The SequenceReader reads a predefined number of elements of type
A
. The number of elements can be passed when constructing the reader or in the read call.ASCII/String example for A:Double "1.0 2.0 3.0 4.0 5.0 ..." => read(2,scanner) reads 2 elements of type A and returns then Seq(1.0,2.0)
ElementType of the sequence to be read.