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

Method value

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

Returns the value of an option

(String option)

Source from the content-addressed store, hash-verified

96
97/** Returns the value of an option */
98public static String
99value(String option) {
100 if (table == null)
101 return null;
102 return ((String)table.get(option.toLowerCase()));
103}
104
105/**
106 * Returns the value of an option as an integer, or -1 if not defined.

Callers 1

intValueMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected