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

Method contains

output/java_guava/1.4.17/FluentIterable.java:344–346  ·  view source on GitHub ↗

Returns true if this fluent iterable contains any object for which equals(target) is true. Stream equivalent: stream.anyMatch(Predicate.isEqual(target)).

(@Nullable Object target)

Source from the content-addressed store, hash-verified

342
343
344 public final boolean contains(@Nullable Object target) {
345 return Iterables.contains(iterable, target);
346 }
347
348 /**
349 * Returns a fluent iterable whose {@code Iterator} cycles indefinitely over the elements of this

Callers

nothing calls this directly

Calls 1

containsMethod · 0.95

Tested by

no test coverage detected