verinec.netsim.util.tables
Class DNSTable.Entry
java.lang.Object
verinec.netsim.util.tables.DNSTable.Entry
- All Implemented Interfaces:
- Map.Entry
- Enclosing class:
- DNSTable
protected class DNSTable.Entry
- extends Object
- implements Map.Entry
a entry with an address as key and addresses as associated value
|
Constructor Summary |
DNSTable.Entry(String address1,
byte[][] address2)
creates a new AddressTable Entry |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
address1
private String address1
address2
private byte[][] address2
DNSTable.Entry
public DNSTable.Entry(String address1,
byte[][] address2)
- creates a new AddressTable Entry
- Parameters:
address1 - the domain nameaddress2 - the address set associated to the key
getKey
public Object getKey()
- Specified by:
getKey in interface Map.Entry
- See Also:
Map.Entry.getKey()
getValue
public Object getValue()
- Specified by:
getValue in interface Map.Entry
- See Also:
Map.Entry.getValue()
setValue
public Object setValue(Object arg0)
- Specified by:
setValue in interface Map.Entry
- See Also:
Map.Entry.setValue(java.lang.Object)