* Purpose: to create an interface with the group of Queue methods
*/
public interface Queue{
public boolean isEmpty(); //checks if the queue is empty
public boolean add(Object o); //places an object at the end of the queue
public Object peek(); //returns the value at the front of the queue
public Object remove(); //removes and returns the value at the front of the queue
}//end Queue interface
You will also need a Listnode.java class which can be found by following the link below.
http://www.associatedcontent.com/article/2636363/linked_list_implementation_java_pt.html?cat=15
Published by Chris Chen
Chris is currently attending the University of California, Berkeley seeking an undergraduate's degree in Electrical Engineering Computer Science. He enjoys playing basketball, practicing kendo, hanging out w... View profile
Blog Spotlight: A-List Blogger Nick Douglas of ValleywagValleywag is Silicon Valley's tech gossip rag. And who is the author of this A-List blog? His name is Nick Douglas and he was plucked prematurely from undergraduate English.
How to Build an Email List for Your BusinessEvery online business should have a good email list that is profitable for them. Of course there are certain tips that you should follow for creating this list and making it pr...- Schindler's List: A Look at Steven Spielberg's Best FilmSchindler's List is not only a fine example of filmmaking at its best, but it also serves as a memorial to the six million victims of the Holocaust.
- The New Anniversary Gift ListThe new anniversary gift list offers a starting point when trying to buy for a married couple.
- Toxins Found in Fish Are Linked to DiabetesA new study found a correlation between the chemical DDE and diabetes. Toxins found in fish, including DDE have been linked to diabetes,a study of Great Lakes boat captains claim.
- How to Build an Opt-In List - the Tools You'll Need - Part 2
- The Horror Movie List
- Gift Buying Guide for the Skiers and Snowboarders on Your List
- Craig's List - It's Not EBay But it Works
- Freelance Writers Can Cash in on the List Article Market
- The Web Smiley Turns 25 - Plus a Full List of Emoticons
- The Web Smiley Turns 25 - Plus a Full List of Emoticons



