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:
2014-05-11 17:54:47 +02:00
parent dc7774bef6
commit 597626b34c
8 changed files with 466 additions and 20 deletions

View File

@@ -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;
}