net.datastructures
Class SortedListPriorityQueue.MyEntry
java.lang.Object
net.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
k
protected Object k
v
protected Object v
SortedListPriorityQueue.MyEntry
public SortedListPriorityQueue.MyEntry(Object key,
Object value)
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()