Class ListBasedPriorityQueue


public class ListBasedPriorityQueue
implements PriorityQueue

This is an implementation of the PriorityQueue interface that uses a linked
list. It is provided so that you can do the early assignments before you
write your own.


Method Summary
 voidadd(GameEntity ge)
           
 GameEntitygetFirst()
           
 voidremoveFirst()
           

Method Detail

add

public void add(GameEntity ge)

getFirst

public GameEntity getFirst()

removeFirst

public void removeFirst()

Association Links

to Class ListBasedPriorityQueue.ListNode