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