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

Method sameSet

src/main/java/core/org/xbill/DNS/Message.java:351–356  ·  view source on GitHub ↗
(Record r1, Record r2)

Source from the content-addressed store, hash-verified

349}
350
351private static boolean
352sameSet(Record r1, Record r2) {
353 return (r1.getRRsetType() == r2.getRRsetType() &&
354 r1.getDClass() == r2.getDClass() &&
355 r1.getName().equals(r2.getName()));
356}
357
358/**
359 * Returns an array containing all records in the given section grouped into

Callers 1

sectionToWireMethod · 0.95

Calls 4

getRRsetTypeMethod · 0.80
getNameMethod · 0.65
getDClassMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected