2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -17,7 +17,7 @@ class Task implements Comparable<Task> {
|
|||
return priority < other.priority ? -1 : priority > other.priority ? 1 : 0;
|
||||
}
|
||||
|
||||
public static final void main(String[] args) {
|
||||
public static void main(String[] args) {
|
||||
PriorityQueue<Task> pq = new PriorityQueue<Task>();
|
||||
pq.add(new Task(3, "Clear drains"));
|
||||
pq.add(new Task(4, "Feed cat"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue