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

Method add

src/main/java/core/org/xbill/DNS/Mnemonic.java:128–135  ·  view source on GitHub ↗

Defines the text representation of a numeric value. @param val The numeric value @param string The text string

(int val, String str)

Source from the content-addressed store, hash-verified

126 * @param string The text string
127 */
128public void
129add(int val, String str) {
130 check(val);
131 Integer value = toInteger(val);
132 str = sanitize(str);
133 strings.put(str, value);
134 values.put(value, str);
135}
136
137/**
138 * Defines an additional text representation of a numeric value. This will

Callers

nothing calls this directly

Calls 4

checkMethod · 0.95
toIntegerMethod · 0.95
sanitizeMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected