verinec.netsim.util.tables
Class ThreadRegistry.Entry
java.lang.Object
verinec.netsim.util.tables.ThreadRegistry.Entry
- All Implemented Interfaces:
- Map.Entry
- Enclosing class:
- ThreadRegistry
private class ThreadRegistry.Entry
- extends Object
- implements Map.Entry
- See Also:
a Entry using a Thread as key and a Node as
Value. In the Simulation it is used for threads running on a node.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
thread
private Thread thread
node
private Node node
ThreadRegistry.Entry
public ThreadRegistry.Entry(Thread thread,
Node node)
- creates a new Thread-Node-Entry
- Parameters:
thread - a threadnode - a node
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)