A table of DNS entries. This is a map table which can handle multiple entries with the same name.
Storing multiple entries with the same name is implemented using a linked list. This is hidden from the user and can change in later implementation.
Here's how to iterate over all entries:
for (Iterator i=dnscache.allValues().iterator(); i.hasNext(); ) { DNSEntry entry = i.next(); ...do something with entry... }
And here's how to iterate over all entries having a given name:
for (Iterator i=dnscache.getDNSEntryList(name).iterator(); i.hasNext(); ) { DNSEntry entry = i.next(); ...do something with entry... }
@author Arthur van Hoff, Werner Randelshofer, Rick Blair, Pierre Frisch