MCPcopy
hub / github.com/apache/groovy / map

Method map

src/main/java/groovy/concurrent/AsyncChannel.java:162–162  ·  view source on GitHub ↗

Returns a new channel that transforms each element using the function. @param transform the mapping function @param the output element type @return a new transformed channel @since 6.0.0

(Function<T, R> transform)

Source from the content-addressed store, hash-verified

160 * @since 6.0.0
161 */
162 default <R> AsyncChannel<R> map(Function<T, R> transform) {
163 AsyncChannel<R> out = create(getCapacity());
164 AsyncSupport.getExecutor().execute(() -> {
165 try {

Callers 15

extractJointOptionsMethod · 0.65
doForkCommandLineListMethod · 0.65
parseOptionsMethod · 0.65
lsMethod · 0.65
toColumnMethod · 0.65
lessMethod · 0.65
getSourcesMethod · 0.65
sourcesForPackageMethod · 0.65
SVIMethod · 0.65
SVDMethod · 0.65
NVLMethod · 0.65
findAnnotationMethod · 0.65

Calls

no outgoing calls

Tested by 9

findAnnotationMethod · 0.52
findAnnotationMethod · 0.52
describeMethodMethod · 0.52
describeMethodsMethod · 0.52
testMetaMethodsMethod · 0.52
testTargetVersionMethod · 0.52