MCPcopy Index your code
hub / github.com/antlr/codebuff / alwaysTrue

Method alwaysTrue

corpus/java/training/guava/base/Predicates.java:54–57  ·  view source on GitHub ↗

Returns a predicate that always evaluates to true.

()

Source from the content-addressed store, hash-verified

52 * Returns a predicate that always evaluates to {@code true}.
53 */
54 @GwtCompatible(serializable = true)
55 public static <T> Predicate<T> alwaysTrue() {
56 return ObjectPredicate.ALWAYS_TRUE.withNarrowedType();
57 }
58
59 /**
60 * Returns a predicate that always evaluates to {@code false}.

Callers 4

copyOfMethod · 0.95
mergeNodesFromMethod · 0.95
mergeEdgesFromMethod · 0.95
clearMethod · 0.45

Calls 1

withNarrowedTypeMethod · 0.45

Tested by

no test coverage detected