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

Method check

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

Checks that a numeric value is within the range [0..max]

(int val)

Source from the content-addressed store, hash-verified

91 * Checks that a numeric value is within the range [0..max]
92 */
93public void
94check(int val) {
95 if (val < 0 || val > max) {
96 throw new IllegalArgumentException(description + " " + val +
97 "is out of range");
98 }
99}
100
101/* Converts a String to the correct case. */
102private String

Callers 3

addMethod · 0.95
addAliasMethod · 0.95
getTextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected