Returns the application of a partial function to the first element of this iterator for which the function is defined.
Returns the application of a partial function to the first element of this iterator for which the function is defined.
the partial function to test elements against and to apply to the first found element.
some found and mapped element, or none if no element applies to q
.
Returns the number of elements in this iterator that satisfy a predicate.
Returns the number of elements in this iterator that satisfy a predicate.
the predicate to test elements against.
the number of elements satisfying p
.
Returns a strict operations interface to this iterator.
Returns a strict operations interface to this iterator.
Returns true
if a predicate holds for some element of this iterator.
Returns true
if a predicate holds for some element of this iterator.
the predicate to test elements against.
true
if any element satisfies p
, otherwise false
.
Returns the first element of this iterator that satisfies a predicate.
Returns the first element of this iterator that satisfies a predicate.
the predicate to test elements against.
some found element, or none if no element satisfies p
.
Returns the repeated application of an associative binary operator between an identity value and all elements of this iterator.
Returns the repeated application of an associative binary operator between an identity value and all elements of this iterator.
the operator's identity element.
the associative binary operator to apply.
the folded value.
Returns the left-to-right application of a binary operator between a start value and all elements of this iterator.
Returns the left-to-right application of a binary operator between a start value and all elements of this iterator.
the starting value.
the binary operator to apply right-recursively.
the folded value.
Returns true
if a predicate holds for all elements of this iterator.
Returns true
if a predicate holds for all elements of this iterator.
the predicate to test elements against.
true
if all elements satisfy p
, otherwise false
.
Sequentially applies a function to each element of this iterator.
Sequentially applies a function to each element of this iterator.
the function to apply to each element.
Returns a non-strict operations interface to this iterator.
Returns a non-strict operations interface to this iterator.
Returns the repeated application of an associative binary operator between all elements of this non-empty iterator.
Returns the repeated application of an associative binary operator between all elements of this non-empty iterator.
the associative binary operator to apply.
the reduced value.
Returns the left-to-right application of a binary operator between all elements of this non-empty iterator.
Returns the left-to-right application of a binary operator between all elements of this non-empty iterator.
the binary operator to apply right-recursively.
the reduced value.
Returns the left-to-right application of a binary operator between all elements of this iterator.
Returns the left-to-right application of a binary operator between all elements of this iterator.
the binary operator to apply right-recursively.
some reduced value, or none if this iterator is empty.
Returns the repeated application of an associative binary operator between all elements of this iterator.
Returns the repeated application of an associative binary operator between all elements of this iterator.
the associative binary operator to apply.
some reduced value, or none if this iterator is empty.
General iterator operations.