not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

24 lines
438 B

package net.jrtechs.www.DataStructures.Lists.Queue;
/**
* Defines behavior for a simple queue
*
* @author Jeffery Russell 8-26-18
*/
public interface IQueue<E>
{
/**
* Adds a new element to the end of the queue
*
* @param element object to add
*/
public void enqueue(E element);
/**
* Removes an object from the queue.
*
* @return the object removed
*/
public E dequeue();
}