verinec.netsim.util.tables
Class DNSTable.Entry

java.lang.Object
  extended by 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


Field Summary
private  String address1
           
private  byte[][] address2
           
 
Constructor Summary
DNSTable.Entry(String address1, byte[][] address2)
          creates a new AddressTable Entry
 
Method Summary
 Object getKey()
           
 Object getValue()
           
 Object setValue(Object arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Field Detail

address1

private String address1

address2

private byte[][] address2
Constructor Detail

DNSTable.Entry

public DNSTable.Entry(String address1,
                      byte[][] address2)
creates a new AddressTable Entry

Parameters:
address1 - the domain name
address2 - the address set associated to the key
Method Detail

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)

Copyright © 2005 Verinec, DIUF