import java.util.NoSuchElementException;

public interface MyQueueI<K> {

	/**
	 * Returns the element at the front of the queue
	 * without removing it.
	 * 
	 * @return element at the front of this queue
	 */
	public K peek() throws NoSuchElementException;

	
	/**
	 * Adds the specified element e at the back of this queue.
	 * @param k
	 */
	public void enqueue(final K k);

	/**
	 * Deletes and returns the element at the front of this queue.
	 * @return element at the front of this queue
	 */
	public K dequeue() throws NoSuchElementException;

	/**
	 * Tests if this queue is empty.
	 * @return True on empty false otherwise.
	 */
	public boolean isEmpty();

}
