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