@Override
    public boolean add(T element) {
        SoftReference<T> elementItem = new SoftReference<T>(element);
        elements.set(getAndUpdateTail(), elementItem);
        return true;
    }
@ Override public boolean add ( T element ) { SoftReference < T > elementItem = new SoftReference < T > ( element ) ; elements . set ( getAndUpdateTail ( ) , elementItem ) ; return true ; }
@param element to be added to the queue
@return true