verinec.netsim.util.tables
Class SocketSimProccessTable.Entry

java.lang.Object
  extended by verinec.netsim.util.tables.SocketSimProccessTable.Entry
All Implemented Interfaces:
Map.Entry
Enclosing class:
SocketSimProccessTable

protected class SocketSimProccessTable.Entry
extends Object
implements Map.Entry

The Entry of this Map containing a Key and the SimProccess that opened the Socket(Key)


Field Summary
private  SocketSimProccessTable.Key key
           
private  SimProcess process
           
 
Constructor Summary
SocketSimProccessTable.Entry(SocketSimProccessTable.Key key, SimProcess process)
          Creates a new Map 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

key

private SocketSimProccessTable.Key key

process

private SimProcess process
Constructor Detail

SocketSimProccessTable.Entry

public SocketSimProccessTable.Entry(SocketSimProccessTable.Key key,
                                    SimProcess process)
Creates a new Map Entry

Parameters:
key - a Key describing the open Socket
process - the SimProccess that opened the Socket
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