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

Method get

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

Get the value of the Option (if it is defined) @return the value @throws IllegalStateException if called on a None

()

Source from the content-addressed store, hash-verified

42 * @throws IllegalStateException if called on a None
43 */
44 public abstract T get();
45
46 /**
47 * Get the contained value (if defined) or else return a default value

Callers 15

orMethod · 0.95
toOptionalMethod · 0.95
testSomeMethod · 0.45
testDeepCopyMethod · 0.45
testMetaDataMethod · 0.45
testEnumContainersMethod · 0.45
testEnumConstantsMethod · 0.45
testDeepCopyMethod · 0.45

Calls

no outgoing calls

Tested by 15

testSomeMethod · 0.36
testDeepCopyMethod · 0.36
testMetaDataMethod · 0.36
testEnumContainersMethod · 0.36
testEnumConstantsMethod · 0.36
testDeepCopyMethod · 0.36
testEmptyMethod · 0.36
mainMethod · 0.36