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