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

Method isAbsolute

src/main/java/core/org/xbill/DNS/Name.java:550–556  ·  view source on GitHub ↗

Is this name absolute?

()

Source from the content-addressed store, hash-verified

548 * Is this name absolute?
549 */
550public boolean
551isAbsolute() {
552 int nlabels = labels();
553 if (nlabels == 0)
554 return false;
555 return name[offset(nlabels - 1)] == 0;
556}
557
558/**
559 * The length of the name.

Callers 12

getNameMethod · 0.95
toWireMethod · 0.95
RecordMethod · 0.80
newRecordMethod · 0.80
fromStringMethod · 0.80
withNameMethod · 0.80
checkNameMethod · 0.80
concatenateMethod · 0.80
ZoneTransferInMethod · 0.80
UpdateMethod · 0.80
MasterMethod · 0.80
runMethod · 0.80

Calls 2

labelsMethod · 0.95
offsetMethod · 0.95

Tested by

no test coverage detected