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

Method absent

corpus/java/training/guava/base/Optional.java:94–96  ·  view source on GitHub ↗

Returns an Optional instance with no contained reference. Comparison to java.util.Optional: this method is equivalent to Java 8's Optional.empty.

()

Source from the content-addressed store, hash-verified

92 * {@code Optional.empty}.
93 */
94 public static <T> Optional<T> absent() {
95 return Absent.withType();
96 }
97
98 /**
99 * Returns an {@code Optional} instance containing the given non-null reference. To have {@code

Callers 15

tryFindMethod · 0.95
firstMethod · 0.95
lastMethod · 0.95
sizeIfKnownMethod · 0.95
sizeIfKnownMethod · 0.95
sizeIfKnownMethod · 0.95
sizeIfKnownMethod · 0.95
lengthIfKnownMethod · 0.95
lengthIfKnownMethod · 0.95
transformMethod · 0.95
getEnumIfPresentMethod · 0.95
fromNullableMethod · 0.95

Calls 1

withTypeMethod · 0.95

Tested by

no test coverage detected