Package | Description |
---|---|
groovyx.gpars.extra166y |
Collections supporting parallel operations.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CommonOps.EqualityPredicate |
(package private) static class |
CommonOps.IdentityPredicate |
(package private) static class |
CommonOps.InequalityPredicate |
(package private) static class |
CommonOps.NonidentityPredicate |
Modifier and Type | Method and Description |
---|---|
static Ops.BinaryPredicate<java.lang.Object,java.lang.Object> |
CommonOps.equalityPredicate()
Returns a predicate evaluating to true if the
first argument
equals the second. |
static Ops.BinaryPredicate<java.lang.Object,java.lang.Object> |
CommonOps.identityPredicate()
Returns a predicate evaluating to true if the
first argument
== the second. |
static Ops.BinaryPredicate<java.lang.Object,java.lang.Object> |
CommonOps.inequalityPredicate()
Returns a predicate evaluating to true if the
first argument
!equals the second. |
static Ops.BinaryPredicate<java.lang.Object,java.lang.Object> |
CommonOps.nonidentityPredicate()
Returns a predicate evaluating to true if the
first argument
!= the second. |
Modifier and Type | Method and Description |
---|---|
(package private) static <T,U,W> Ops.IntAndObjectPredicate<T> |
AbstractParallelAnyArray.indexedSelector(Ops.BinaryPredicate<? super T,? super U> bp,
ParallelArrayWithMapping<W,U> u,
int origin) |
<V,W> ParallelArrayWithFilter<T> |
ParallelArray.withFilter(Ops.BinaryPredicate<? super T,? super V> selector,
ParallelArrayWithMapping<W,V> other)
Returns an operation prefix that causes a method to operate
only on elements for which the given binary selector returns
true.
|
<V,W> ParallelArrayWithFilter<T> |
ParallelArrayWithFilter.withFilter(Ops.BinaryPredicate<? super T,? super V> selector,
ParallelArrayWithMapping<W,V> other)
Returns an operation prefix that causes a method to operate
only on elements for which the current selector (if
present) and the given binary selector returns true.
|