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

Method checkFlag

src/main/java/core/org/xbill/DNS/Header.java:90–94  ·  view source on GitHub ↗
(int bit)

Source from the content-addressed store, hash-verified

88}
89
90static private void
91checkFlag(int bit) {
92 if (!validFlag(bit))
93 throw new IllegalArgumentException("invalid flag bit " + bit);
94}
95
96static int
97setFlag(int flags, int bit, boolean value) {

Callers 3

setFlagMethod · 0.95
unsetFlagMethod · 0.95
getFlagMethod · 0.95

Calls 1

validFlagMethod · 0.95

Tested by

no test coverage detected