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

Method findNext

java/org/apache/el/stream/Stream.java:62–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 public Stream filter(final LambdaExpression le) {
61 Iterator<Object> downStream = new OpIterator() {
62 @Override
63 protected void findNext() {
64 while (iterator.hasNext()) {
65 Object obj = iterator.next();
66 if (ELSupport.coerceToBoolean(null, le.invoke(obj), true).booleanValue()) {
67 next = obj;
68 foundNext = true;
69 break;
70 }
71 }
72 }
73 };
74 return new Stream(downStream);
75 }

Callers

nothing calls this directly

Calls 7

coerceToBooleanMethod · 0.95
sortMethod · 0.95
hasNextMethod · 0.65
nextMethod · 0.65
invokeMethod · 0.65
addMethod · 0.65
booleanValueMethod · 0.45

Tested by

no test coverage detected