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

Method unget

src/main/java/core/org/xbill/DNS/Tokenizer.java:354–362  ·  view source on GitHub ↗

Returns a token to the stream, so that it will be returned by the next call to get(). @throws IllegalStateException There are already ungotten tokens.

()

Source from the content-addressed store, hash-verified

352 * @throws IllegalStateException There are already ungotten tokens.
353 */
354public void
355unget() {
356 if (ungottenToken)
357 throw new IllegalStateException
358 ("Cannot unget multiple tokens");
359 if (current.type == EOL)
360 line--;
361 ungottenToken = true;
362}
363
364/**
365 * Gets the next token from a tokenizer and converts it to a string.

Callers 13

remainingStringsMethod · 0.95
rdataFromStringMethod · 0.80
fromStringMethod · 0.80
rdataFromStringMethod · 0.80
TypeBitmapMethod · 0.80
rdataFromStringMethod · 0.80
rdataFromStringMethod · 0.80
rdataFromStringMethod · 0.80
parseDoubleMethod · 0.80
rdataFromStringMethod · 0.80
startGenerateMethod · 0.80
_nextRecordMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected