MCPcopy
hub / github.com/google/guava / withType

Method withType

guava/src/com/google/common/base/Absent.java:31–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 static final Absent<Object> INSTANCE = new Absent<>();
30
31 @SuppressWarnings("unchecked") // implementation is "fully variant"
32 static <T> Optional<T> withType() {
33 return (Optional<T>) INSTANCE;
34 }
35
36 private Absent() {}
37

Callers 1

absentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected