Package jjparse.input

Class StreamInput<T>

java.lang.Object
jjparse.input.Input<T>
jjparse.input.StreamInput<T>
Type Parameters:
T - The element type of the Stream.

public final class StreamInput<T> extends Input<T>
A lazily evaluated Input for Streams of arbitrary elements. Input<T>.Positions returned by this Input reflect the order in which the elements are retrieved from the Stream using Stream.findFirst().
Author:
Björn Lötters
See Also: