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