chapter_004/src/main/java/ru/job4j/list/MyQueue.java
/**
     * This method return first element from MyQueue and remove it from MyQueue.
     * @return - first element.
     */
This method return first element from MyQueue and remove it from MyQueue.
@return - first element.
This method return first element from MyQueue and remove it from MyQueue . @return - first element .
public E poll() {
        E e = get(0);
        remove(0);
        return e;
    }
public E poll ( ) { E e = get ( 0 ) ; remove ( 0 ) ; return e ; }
This method return first element from MyQueue and remove it from MyQueue.
This method return first element from MyQueue and remove it from MyQueue .