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

Method set

src/main/java/core/org/xbill/DNS/Tokenizer.java:80–87  ·  view source on GitHub ↗
(int type, StringBuffer value)

Source from the content-addressed store, hash-verified

78 }
79
80 private Token
81 set(int type, StringBuffer value) {
82 if (type < 0)
83 throw new IllegalArgumentException();
84 this.type = type;
85 this.value = value == null ? null : value.toString();
86 return this;
87 }
88
89 /**
90 * Converts the token to a string containing a representation useful

Callers 1

getMethod · 0.45

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected