MCPcopy Create free account
hub / github.com/apache/thrift / isDefined

Method isDefined

lib/java/src/main/java/org/apache/thrift/Option.java:36–36  ·  view source on GitHub ↗

Whether the Option is defined or not @return true if the Option is defined (of type Some) false if the Option is not defined (of type None)

()

Source from the content-addressed store, hash-verified

34 * type None)
35 */
36 public abstract boolean isDefined();
37
38 /**
39 * Get the value of the Option (if it is defined)

Callers 6

orMethod · 0.95
toOptionalMethod · 0.95
testSomeMethod · 0.45
testNoneMethod · 0.45
testMakeSomeMethod · 0.45
testMakeNoneMethod · 0.45

Calls

no outgoing calls

Tested by 4

testSomeMethod · 0.36
testNoneMethod · 0.36
testMakeSomeMethod · 0.36
testMakeNoneMethod · 0.36