Implementato HeapAdaptablePriorityQueue mediante heap. Implementato SortedListAdaptablePriorityQueue estendendo SortedListPriorityQueue utilizzando l'interfacciaAdaptablePriorityQueue . L'implementazione di entrambi una una classe LocationAwareEntry estensione di Entry.
This commit is contained in:
@@ -31,7 +31,7 @@ public class MyEntry<K,V> implements Entry<K,V> {
|
||||
return ("(" + key + " - " + value + ")");
|
||||
}
|
||||
|
||||
private K key;
|
||||
private V value;
|
||||
protected K key;
|
||||
protected V value;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user