public class DNSRandomizeARecords
extends java.lang.Object
Constructor and Description |
---|
DNSRandomizeARecords(java.util.ArrayList<org.xbill.DNS.ARecord> inputList)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
org.xbill.DNS.ARecord |
getNextRecord()
Get the next DNS A record form the list in randomized order.
|
java.util.ArrayList<org.xbill.DNS.ARecord> |
getRandomizedList()
Get a new randomized list of DNS A records, based of the list which was passed by the constructor.
|
public DNSRandomizeARecords(java.util.ArrayList<org.xbill.DNS.ARecord> inputList)
inputList
- the list of DNS A records to randomize.public org.xbill.DNS.ARecord getNextRecord()
public java.util.ArrayList<org.xbill.DNS.ARecord> getRandomizedList()