datastructures

net.datastructures
Class SortedListPriorityQueue.MyEntry

java.lang.Object
  extended bynet.datastructures.SortedListPriorityQueue.MyEntry
All Implemented Interfaces:
Entry
Direct Known Subclasses:
SortedListAdaptablePriorityQueue.LocationAwareEntry
Enclosing class:
SortedListPriorityQueue

protected static class SortedListPriorityQueue.MyEntry
extends Object
implements Entry

Inner class for entries


Field Summary
protected  Object k
           
protected  Object v
           
 
Constructor Summary
SortedListPriorityQueue.MyEntry(Object key, Object value)
           
 
Method Summary
 Object key()
          Returns the key stored in this entry.
 String toString()
           
 Object value()
          Returns the value stored in this entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

k

protected Object k

v

protected Object v
Constructor Detail

SortedListPriorityQueue.MyEntry

public SortedListPriorityQueue.MyEntry(Object key,
                                       Object value)
Method Detail

key

public Object key()
Description copied from interface: Entry
Returns the key stored in this entry.

Specified by:
key in interface Entry

value

public Object value()
Description copied from interface: Entry
Returns the value stored in this entry.

Specified by:
value in interface Entry

toString

public String toString()

datastructures