class ObservableBuffer extends ObservableListBase<E> implements Queue<E> {

    @Override
    public E element()
    {
        if (myQueue.isEmpty())
        {
            throw new NoSuchElementException();
        }
        return myQueue.peekLast();
    }

    public  ObservableBuffer(final int capacity);

}