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

Method allRRsets

src/main/java/core/org/xbill/DNS/Zone.java:234–243  ·  view source on GitHub ↗
(Object types)

Source from the content-addressed store, hash-verified

232}
233
234private synchronized RRset []
235allRRsets(Object types) {
236 if (types instanceof List) {
237 List typelist = (List) types;
238 return (RRset []) typelist.toArray(new RRset[typelist.size()]);
239 } else {
240 RRset set = (RRset) types;
241 return new RRset [] {set};
242 }
243}
244
245private synchronized RRset
246oneRRset(Object types, int type) {

Callers 4

lookupMethod · 0.95
nodeToStringMethod · 0.95
ZoneIteratorMethod · 0.80
nextMethod · 0.80

Calls 2

toArrayMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected