verinec.netsim.util.tables
Class ThreadRegistry.Entry

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

Field Summary
private  Node node
           
private  Thread thread
           
 
Constructor Summary
ThreadRegistry.Entry(Thread thread, Node node)
          creates a new Thread-Node-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

thread

private Thread thread

node

private Node node
Constructor Detail

ThreadRegistry.Entry

public ThreadRegistry.Entry(Thread thread,
                            Node node)
creates a new Thread-Node-Entry

Parameters:
thread - a thread
node - a node
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