org.codehaus.gpars

groovyx.gpars.pa
[Groovy] Class MappedPAWrapper

java.lang.Object
  groovyx.gpars.pa.AbstractPAWrapper
      groovyx.gpars.pa.MappedPAWrapper

final class MappedPAWrapper
extends AbstractPAWrapper

The ParallelArray wrapper used after the map() operation


Constructor Summary
MappedPAWrapper(ParallelArrayWithMapping pa)

 
Method Summary
AbstractPAWrapper filter(groovy.lang.Closure cl)

Filters concurrently elements in the collection based on the outcome of the supplied function on each of the elements.

 
Methods inherited from class AbstractPAWrapper
combine, combineImpl, combineImpl, filter, getCollection, groupBy, map, max, max, min, min, reduce, reduce, size, sort, sum
 

Constructor Detail

MappedPAWrapper

MappedPAWrapper(ParallelArrayWithMapping pa)


 
Method Detail

filter

final AbstractPAWrapper filter(groovy.lang.Closure cl)
Filters concurrently elements in the collection based on the outcome of the supplied function on each of the elements.
Parameters:
A - closure indicating whether to propagate the given element into the filtered collection
Returns:
A collection holding the allowed values


 

Copyright © 2008–2013 Václav Pech. All Rights Reserved.