MCPcopy Create free account
hub / github.com/apache/tomcat / map

Method map

java/org/apache/el/stream/Stream.java:85–97  ·  view source on GitHub ↗

Returns a stream consisting of the results of applying the given function to the elements of this stream. @param le the function to apply to each element @return the new mapped stream

(final LambdaExpression le)

Source from the content-addressed store, hash-verified

83 * @return the new mapped stream
84 */
85 public Stream map(final LambdaExpression le) {
86 Iterator<Object> downStream = new OpIterator() {
87 @Override
88 protected void findNext() {
89 if (iterator.hasNext()) {
90 Object obj = iterator.next();
91 next = le.invoke(obj);
92 foundNext = true;
93 }
94 }
95 };
96 return new Stream(downStream);
97 }
98
99
100 /**

Callers 15

TomcatSecurityServiceMethod · 0.45
testPerformanceImplMethod · 0.45
testMapMethod · 0.45
doGetMethod · 0.45
findLogFileMethod · 0.45
checkPackageClassListMethod · 0.45
listAllObjectsMethod · 0.45
listAllObjectsMethod · 0.45

Calls

no outgoing calls

Tested by 9

testPerformanceImplMethod · 0.36
testMapMethod · 0.36
doGetMethod · 0.36
findLogFileMethod · 0.36
checkPackageClassListMethod · 0.36