verinec.netsim.util.tables
Class SocketSimProccessTable.Entry
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
private SocketSimProccessTable.Key key
process
private SimProcess process
SocketSimProccessTable.Entry
public SocketSimProccessTable.Entry(SocketSimProccessTable.Key key,
SimProcess process)
- Creates a new Map Entry
- Parameters:
key - a Key describing the open Socketprocess - the SimProccess that opened the Socket
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)