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

Method isPresent

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

Source from the content-addressed store, hash-verified

36 private Absent() {}
37
38 @Override
39 public boolean isPresent() {
40 return false;
41 }
42
43 @Override
44 public T get() {

Callers 15

streamMethod · 0.45
isEmptyMethod · 0.45
sizeMethod · 0.45
readMethod · 0.45
sizeIfKnownMethod · 0.45
sizeIfKnownMethod · 0.45
lengthMethod · 0.45
isEmptyMethod · 0.45
lengthIfKnownMethod · 0.45
isEmptyMethod · 0.45
readMethod · 0.45
getIfPresentMethod · 0.45

Calls

no outgoing calls

Tested by 11

readMethod · 0.36
getIfPresentMethod · 0.36
testLengthIfKnownMethod · 0.36
testSizeIfKnownMethod · 0.36
testGetIfPresentMethod · 0.36
doTestClassUnloadingMethod · 0.36
testAbsentMethod · 0.36
testIsPresent_noMethod · 0.36
testIsPresent_yesMethod · 0.36
validateNetworkMethod · 0.36