Represents an abstract source of sequence of values that can be deserialized.
ListInput instance is stateful and MUST be read strictly sequentially. This means, you MUST fully exhaust
an Input instance returned by nextElement() before calling nextElement() again. For this reason,
ListInput is not an Iterator despite having similar interface
(Iterator would easily allow e.g. conversion to List[Input] which would be illegal).
ListInput MUST always be fully exhausted. In order to ignore any remaining elements, skipRemaining() may be
used.
Returns an Input representing next element in a sequence of values
represented by this ListInput.
Returns an Input representing next element in a sequence of values
represented by this ListInput.
Returned Input instance must be fully exhausted before calling
nextElement() next time.
Represents an abstract source of sequence of values that can be deserialized. ListInput instance is stateful and MUST be read strictly sequentially. This means, you MUST fully exhaust an Input instance returned by
nextElement()
before callingnextElement()
again. For this reason, ListInput is not anIterator
despite having similar interface (Iterator
would easily allow e.g. conversion toList[Input]
which would be illegal).ListInput MUST always be fully exhausted. In order to ignore any remaining elements, skipRemaining() may be used.