Code example for Collection

Methods: isEmpty

0
     * @param c the collection 
     * @return <tt>false</tt> unless the given collection is empty 
     * @throws NullPointerException if the specified collection is null 
     */ 
    public boolean containsAll(Collection c) {
        return c.isEmpty();
    } 
 
    /** 
     * Always returns <tt>false</tt>. 
     * A <tt>SynchronousQueue</tt> has no internal capacity. 
     * 
     * @param c the collection 
     * @return <tt>false</tt> 
     */ 
    public boolean removeAll(Collection c) {
        return false; 
    } 
 
    /** 
Stop searching for code, let great code find you!  Add Codota to your java IDE