static final class AbstractParallelAnyArray.ORPap<T> extends ParallelArrayWithFilter<T>
AbstractParallelAnyArray.AndPredicate<T>, AbstractParallelAnyArray.DDCPap, AbstractParallelAnyArray.DDMPap, AbstractParallelAnyArray.DFDCPap, AbstractParallelAnyArray.DFDMPap, AbstractParallelAnyArray.DFLCPap, AbstractParallelAnyArray.DFLMPap, AbstractParallelAnyArray.DFOCPap<U>, AbstractParallelAnyArray.DFOMPap<U>, AbstractParallelAnyArray.DFPap, AbstractParallelAnyArray.DLCPap, AbstractParallelAnyArray.DLMPap, AbstractParallelAnyArray.DOCPap<U>, AbstractParallelAnyArray.DOMPap<U>, AbstractParallelAnyArray.DPap, AbstractParallelAnyArray.DRDCPap, AbstractParallelAnyArray.DRDMPap, AbstractParallelAnyArray.DRLCPap, AbstractParallelAnyArray.DRLMPap, AbstractParallelAnyArray.DROCPap<U>, AbstractParallelAnyArray.DROMPap<U>, AbstractParallelAnyArray.DRPap, AbstractParallelAnyArray.DUDCPap, AbstractParallelAnyArray.DUDMPap, AbstractParallelAnyArray.DULCPap, AbstractParallelAnyArray.DULMPap, AbstractParallelAnyArray.DUOCPap<U>, AbstractParallelAnyArray.DUOMPap<U>, AbstractParallelAnyArray.DUPap, AbstractParallelAnyArray.FilteredAsDoubleIterator, AbstractParallelAnyArray.FilteredAsLongIterator, AbstractParallelAnyArray.FilteredIterator<U>, AbstractParallelAnyArray.LDCPap, AbstractParallelAnyArray.LDMPap, AbstractParallelAnyArray.LFDCPap, AbstractParallelAnyArray.LFDMPap, AbstractParallelAnyArray.LFLCPap, AbstractParallelAnyArray.LFLMPap, AbstractParallelAnyArray.LFOCPap<U>, AbstractParallelAnyArray.LFOMPap<U>, AbstractParallelAnyArray.LFPap, AbstractParallelAnyArray.LLCPap, AbstractParallelAnyArray.LLMPap, AbstractParallelAnyArray.LOCPap<U>, AbstractParallelAnyArray.LOMPap<U>, AbstractParallelAnyArray.LPap, AbstractParallelAnyArray.LRDCPap, AbstractParallelAnyArray.LRDMPap, AbstractParallelAnyArray.LRLCPap, AbstractParallelAnyArray.LRLMPap, AbstractParallelAnyArray.LROCPap<U>, AbstractParallelAnyArray.LROMPap<U>, AbstractParallelAnyArray.LRPap, AbstractParallelAnyArray.LUDCPap, AbstractParallelAnyArray.LUDMPap, AbstractParallelAnyArray.LULCPap, AbstractParallelAnyArray.LULMPap, AbstractParallelAnyArray.LUOCPap<U>, AbstractParallelAnyArray.LUOMPap<U>, AbstractParallelAnyArray.LUPap, AbstractParallelAnyArray.ODCPap<T>, AbstractParallelAnyArray.ODMPap<T>, AbstractParallelAnyArray.OFDCPap<T>, AbstractParallelAnyArray.OFDMPap<T>, AbstractParallelAnyArray.OFLCPap<T>, AbstractParallelAnyArray.OFLMPap<T>, AbstractParallelAnyArray.OFOCPap<T,U>, AbstractParallelAnyArray.OFOMPap<T,U>, AbstractParallelAnyArray.OFPap<T>, AbstractParallelAnyArray.OLCPap<T>, AbstractParallelAnyArray.OLMPap<T>, AbstractParallelAnyArray.OOCPap<T,U>, AbstractParallelAnyArray.OOMPap<T,U>, AbstractParallelAnyArray.OPap<T>, AbstractParallelAnyArray.ORDCPap<T>, AbstractParallelAnyArray.ORDMPap<T>, AbstractParallelAnyArray.ORLCPap<T>, AbstractParallelAnyArray.ORLMPap<T>, AbstractParallelAnyArray.OROCPap<T,U>, AbstractParallelAnyArray.OROMPap<T,U>, AbstractParallelAnyArray.ORPap<T>, AbstractParallelAnyArray.OUDCPap<T>, AbstractParallelAnyArray.OUDMPap<T>, AbstractParallelAnyArray.OULCPap<T>, AbstractParallelAnyArray.OULMPap<T>, AbstractParallelAnyArray.OUOCPap<T,U>, AbstractParallelAnyArray.OUOMPap<T,U>, AbstractParallelAnyArray.OUPap<T>, AbstractParallelAnyArray.Sequentially<U>, AbstractParallelAnyArray.SequentiallyAsDouble, AbstractParallelAnyArray.SequentiallyAsLong, AbstractParallelAnyArray.UnfilteredAsDoubleIterator, AbstractParallelAnyArray.UnfilteredAsLongIterator, AbstractParallelAnyArray.UnfilteredIterator<U>
Modifier and Type | Field and Description |
---|---|
(package private) Ops.IntAndObjectPredicate<? super T> |
selector |
array
ex, fence, origin, threshold
Constructor and Description |
---|
AbstractParallelAnyArray.ORPap(jsr166y.ForkJoinPool ex,
int origin,
int fence,
T[] array,
Ops.IntAndObjectPredicate<? super T> selector) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
hasFilter() |
(package private) boolean |
isSelected(int i) |
(package private) void |
leafApply(int lo,
int hi,
Ops.Procedure procedure) |
(package private) void |
leafBinaryIndexMap(int l,
int h,
Ops.IntAndObjectToObject op) |
(package private) void |
leafCombineInPlace(int l,
int h,
java.lang.Object[] other,
int otherOffset,
Ops.BinaryOp combiner) |
(package private) void |
leafCombineInPlace(int l,
int h,
ParallelArrayWithMapping other,
int otherOffset,
Ops.BinaryOp combiner) |
(package private) void |
leafFill(int l,
int h,
java.lang.Object value) |
(package private) void |
leafGenerate(int l,
int h,
Ops.Generator generator) |
(package private) void |
leafIndexMap(int l,
int h,
Ops.IntToObject op) |
(package private) java.lang.Object |
leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base) |
(package private) void |
leafTransform(int l,
int h,
Ops.Op op) |
ParallelArrayWithFilter<T> |
withFilter(Ops.Predicate<? super T> selector)
Returns an operation prefix that causes a method to operate
only on elements for which the current selector (if
present) and the given selector returns true.
|
ParallelArrayWithFilter<T> |
withIndexedFilter(Ops.IntAndObjectPredicate<? super T> selector)
Returns an operation prefix that causes a method to operate
only on elements for which the current selector (if
present) and the given indexed selector returns true.
|
ParallelArrayWithDoubleMapping<T> |
withIndexedMapping(Ops.IntAndObjectToDouble<? super T> mapper)
Returns an operation prefix that causes a method to operate
on mappings of this array using the given mapper that
accepts as arguments an element's current index and value
(as mapped by preceding mappings, if any), and produces a
new value.
|
ParallelArrayWithLongMapping<T> |
withIndexedMapping(Ops.IntAndObjectToLong<? super T> mapper)
Returns an operation prefix that causes a method to operate
on mappings of this array using the given mapper that
accepts as arguments an element's current index and value
(as mapped by preceding mappings, if any), and produces a
new value.
|
<V> ParallelArrayWithMapping<T,V> |
withIndexedMapping(Ops.IntAndObjectToObject<? super T,? extends V> mapper)
Returns an operation prefix that causes a method to operate
on mappings of this array using the given mapper that
accepts as arguments an element's current index and value
(as mapped by preceding mappings, if any), and produces a
new value.
|
ParallelArrayWithDoubleMapping<T> |
withMapping(Ops.ObjectToDouble<? super T> op)
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given op
applied to current op's results.
|
ParallelArrayWithLongMapping<T> |
withMapping(Ops.ObjectToLong<? super T> op)
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given op
applied to current op's results.
|
<U> ParallelArrayWithMapping<T,U> |
withMapping(Ops.Op<? super T,? extends U> op)
Returns an operation prefix that causes a method to operate
on mapped elements of the array using the given op
applied to current op's results.
|
allNonidenticalElements, allUniqueElements, hasAllEqualElements, hasAllIdenticalElements, leafTransfer, leafTransferByIndex, oget, replaceWithGeneratedValue, replaceWithMappedIndex, replaceWithMappedIndex, replaceWithMapping, replaceWithMapping, replaceWithMapping, replaceWithValue, withFilter
all, all, any, apply, max, max, min, min, reduce, sequentially, summary, summary, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping
dget, leafMoveByIndex, leafMoveSelected, lget, ogetArray
allDoubles, allLongs, allObjects, anyIndex, boundsCheck, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedOp, compoundIndexedSelector, compoundIndexedSelector, compoundIndexedSelector, compoundIndexedSelector, compoundIndexedSelector, compoundIndexedSelector, compoundIndexedSelector, compoundIndexedSelector, compoundIndexedSelector, computeThreshold, dgetArray, getThreshold, hasMap, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedMapper, indexedSelector, indexedSelector, indexedSelector, isEmpty, leafApply, leafApply, leafBinaryIndexMap, leafBinaryIndexMap, leafCombineInPlace, leafCombineInPlace, leafCombineInPlace, leafCombineInPlace, leafFill, leafFill, leafGenerate, leafGenerate, leafIndexMap, leafIndexMap, leafIndexSelected, leafReduce, leafReduce, leafTransfer, leafTransfer, leafTransferByIndex, leafTransferByIndex, leafTransform, leafTransform, lgetArray, size
final Ops.IntAndObjectPredicate<? super T> selector
AbstractParallelAnyArray.ORPap(jsr166y.ForkJoinPool ex, int origin, int fence, T[] array, Ops.IntAndObjectPredicate<? super T> selector)
boolean hasFilter()
hasFilter
in class AbstractParallelAnyArray
boolean isSelected(int i)
isSelected
in class AbstractParallelAnyArray
public ParallelArrayWithFilter<T> withFilter(Ops.Predicate<? super T> selector)
ParallelArrayWithFilter
withFilter
in class ParallelArrayWithFilter<T>
selector
- the selectorpublic ParallelArrayWithFilter<T> withIndexedFilter(Ops.IntAndObjectPredicate<? super T> selector)
ParallelArrayWithFilter
withIndexedFilter
in class ParallelArrayWithFilter<T>
selector
- the selectorpublic <U> ParallelArrayWithMapping<T,U> withMapping(Ops.Op<? super T,? extends U> op)
ParallelArrayWithMapping
withMapping
in class ParallelArrayWithMapping<T,T>
op
- the oppublic ParallelArrayWithDoubleMapping<T> withMapping(Ops.ObjectToDouble<? super T> op)
ParallelArrayWithMapping
withMapping
in class ParallelArrayWithMapping<T,T>
op
- the oppublic ParallelArrayWithLongMapping<T> withMapping(Ops.ObjectToLong<? super T> op)
ParallelArrayWithMapping
withMapping
in class ParallelArrayWithMapping<T,T>
op
- the oppublic <V> ParallelArrayWithMapping<T,V> withIndexedMapping(Ops.IntAndObjectToObject<? super T,? extends V> mapper)
ParallelArrayWithMapping
withIndexedMapping
in class ParallelArrayWithMapping<T,T>
mapper
- the mapperpublic ParallelArrayWithDoubleMapping<T> withIndexedMapping(Ops.IntAndObjectToDouble<? super T> mapper)
ParallelArrayWithMapping
withIndexedMapping
in class ParallelArrayWithMapping<T,T>
mapper
- the mapperpublic ParallelArrayWithLongMapping<T> withIndexedMapping(Ops.IntAndObjectToLong<? super T> mapper)
ParallelArrayWithMapping
withIndexedMapping
in class ParallelArrayWithMapping<T,T>
mapper
- the mappervoid leafApply(int lo, int hi, Ops.Procedure procedure)
leafApply
in class AbstractParallelAnyArray
java.lang.Object leafReduce(int lo, int hi, Ops.Reducer reducer, java.lang.Object base)
leafReduce
in class AbstractParallelAnyArray
final void leafTransform(int l, int h, Ops.Op op)
leafTransform
in class AbstractParallelAnyArray
final void leafIndexMap(int l, int h, Ops.IntToObject op)
leafIndexMap
in class AbstractParallelAnyArray
final void leafBinaryIndexMap(int l, int h, Ops.IntAndObjectToObject op)
leafBinaryIndexMap
in class AbstractParallelAnyArray
final void leafGenerate(int l, int h, Ops.Generator generator)
leafGenerate
in class AbstractParallelAnyArray
final void leafFill(int l, int h, java.lang.Object value)
leafFill
in class AbstractParallelAnyArray
final void leafCombineInPlace(int l, int h, java.lang.Object[] other, int otherOffset, Ops.BinaryOp combiner)
leafCombineInPlace
in class AbstractParallelAnyArray
final void leafCombineInPlace(int l, int h, ParallelArrayWithMapping other, int otherOffset, Ops.BinaryOp combiner)
leafCombineInPlace
in class AbstractParallelAnyArray