datastructures

net.datastructures
Class HeapAdaptablePriorityQueue.LocationAwareEntry

java.lang.Object
  extended bynet.datastructures.HeapPriorityQueue.MyEntry
      extended bynet.datastructures.HeapAdaptablePriorityQueue.LocationAwareEntry
All Implemented Interfaces:
Entry
Enclosing class:
HeapAdaptablePriorityQueue

protected static class HeapAdaptablePriorityQueue.LocationAwareEntry
extends HeapPriorityQueue.MyEntry
implements Entry

Inner class for a location-aware entry.


Field Summary
protected  Position loc
           
 
Fields inherited from class net.datastructures.HeapPriorityQueue.MyEntry
key, value
 
Constructor Summary
HeapAdaptablePriorityQueue.LocationAwareEntry(Object k, Object v)
           
HeapAdaptablePriorityQueue.LocationAwareEntry(Object k, Object v, Position pos)
           
 
Method Summary
protected  Position location()
           
protected  Object setKey(Object k)
           
protected  Position setLocation(Position pos)
           
protected  Object setValue(Object v)
           
 
Methods inherited from class net.datastructures.HeapPriorityQueue.MyEntry
key, toString, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.datastructures.Entry
key, value
 

Field Detail

loc

protected Position loc
Constructor Detail

HeapAdaptablePriorityQueue.LocationAwareEntry

public HeapAdaptablePriorityQueue.LocationAwareEntry(Object k,
                                                     Object v)

HeapAdaptablePriorityQueue.LocationAwareEntry

public HeapAdaptablePriorityQueue.LocationAwareEntry(Object k,
                                                     Object v,
                                                     Position pos)
Method Detail

location

protected Position location()

setLocation

protected Position setLocation(Position pos)

setKey

protected Object setKey(Object k)

setValue

protected Object setValue(Object v)

datastructures