Code example for LinkedList

Methods: poll

0
    /** 
     * @see LinkedList.poll() 
     */ 
    @Override 
    public final synchronized ContentObject poll() { 
        return list.poll();
    } 
 
    /** 
     * @see LinkedList.remove() 
     */ 
    @Override 
    public final synchronized ContentObject remove() { 
        return list.remove();
    } 
 
    /** 
     * Calls LinkedList.add(Object) if content is not null. 
     *  
     * @param content The ContentObject to put into the list 
     * @return true if content was not null and the insertion was successful,