MCPcopy Create free account
hub / github.com/antlr/codebuff / apply

Method apply

output/java_guava/1.4.17/Predicates.java:419–428  ·  view source on GitHub ↗
(@Nullable T t)

Source from the content-addressed store, hash-verified

417 }
418
419 @Override
420 public boolean apply(@Nullable T t) {
421 // Avoid using the Iterator to avoid generating garbage (issue 820).
422 for (int i = 0; i < components.size(); i++) {
423 if (!components.get(i).apply(t)) {
424 return false;
425 }
426 }
427 return true;
428 }
429
430 @Override
431 public int hashCode() {

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.65
applyMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected