MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / check

Method check

src/main/java/core/org/xbill/DNS/Options.java:90–95  ·  view source on GitHub ↗

Checks if an option is defined

(String option)

Source from the content-addressed store, hash-verified

88
89/** Checks if an option is defined */
90public static boolean
91check(String option) {
92 if (table == null)
93 return false;
94 return (table.get(option.toLowerCase()) != null);
95}
96
97/** Returns the value of an option */
98public static String

Callers 15

addServerMethod · 0.95
addSearchMethod · 0.95
parseNdotsMethod · 0.95
rrToStringMethod · 0.95
toStringMethod · 0.95
rrToStringMethod · 0.95
rrToStringMethod · 0.95
NameMethod · 0.95
logxfrMethod · 0.95
CompressionClass · 0.95
verboseLogMethod · 0.95
addMessageMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected