net.datastructures - version 4.0

net.datastructures
Class SortedListAdaptablePriorityQueue.LocationAwareEntry<K,V>

java.lang.Object
  extended by net.datastructures.SortedListPriorityQueue.MyEntry<K,V>
      extended by net.datastructures.SortedListAdaptablePriorityQueue.LocationAwareEntry<K,V>
All Implemented Interfaces:
Entry<K,V>
Enclosing class:
SortedListAdaptablePriorityQueue<K,V>

protected static class SortedListAdaptablePriorityQueue.LocationAwareEntry<K,V>
extends SortedListPriorityQueue.MyEntry<K,V>
implements Entry<K,V>

Inner class for a location-aware entry


Field Summary
 
Fields inherited from class net.datastructures.SortedListPriorityQueue.MyEntry
k, v
 
Constructor Summary
SortedListAdaptablePriorityQueue.LocationAwareEntry(K key, V value)
           
SortedListAdaptablePriorityQueue.LocationAwareEntry(K key, V value, Position<Entry<K,V>> pos)
           
 
Method Summary
protected  Position<Entry<K,V>> location()
           
protected  K setKey(K key)
           
protected  Position<Entry<K,V>> setLocation(Position<Entry<K,V>> pos)
           
protected  V setValue(V value)
           
 
Methods inherited from class net.datastructures.SortedListPriorityQueue.MyEntry
getKey, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.datastructures.Entry
getKey, getValue
 

Constructor Detail

SortedListAdaptablePriorityQueue.LocationAwareEntry

public SortedListAdaptablePriorityQueue.LocationAwareEntry(K key,
                                                           V value)

SortedListAdaptablePriorityQueue.LocationAwareEntry

public SortedListAdaptablePriorityQueue.LocationAwareEntry(K key,
                                                           V value,
                                                           Position<Entry<K,V>> pos)
Method Detail

location

protected Position<Entry<K,V>> location()

setLocation

protected Position<Entry<K,V>> setLocation(Position<Entry<K,V>> pos)

setKey

protected K setKey(K key)

setValue

protected V setValue(V value)

net.datastructures - version 4.0