The element at position index.
The element at position index.
Predicate method to check if an element is defined
at position index of the current sequence.
Predicate method to check if an element is defined
at position index of the current sequence.
Unlike length this operation does not force reading
a lazy sequence to the end.
The length of the paged sequence
The length of the paged sequence
Calling this method will force the entire sequence to be read.
(Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.
The subsequence from index start up to
the length of the current sequence.
The subsequence from index start up to end -1 if end
is lesser than the length of the current sequence and up to
length of the sequence otherwise.
The subsequence from index start up to end -1 if end
is lesser than the length of the current sequence and up to
length of the sequence otherwise. This is limited up to the length
of the current sequence if end is larger than its length.
Convert sequence to string
Convert sequence to string
(Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.
An implementation of lazily computed sequences, where elements are stored in "pages", i.e. arrays of fixed size.
A paged sequence is constructed from a function that produces more elements when asked. The producer function -
more, is similar to the read method in java.io.Reader. Themorefunction takes three parameters: an array of elements, a start index, and an end index. It should try to fill the array between start and end indices (excluding end index). It returns the number of elements produced, or -1 if end of logical input stream was reached before reading any element.the type of the elements contained in this paged sequence, with an
ClassTagcontext bound.