Code example for Collection

Methods: remove

0
                if (!contains(o)) {
                    return false; 
                } 
                final M map = copy();
                try { 
                    return map.values().remove(o);
                } finally { 
                    set(map);
                } 
            } finally { 
                lock.unlock();
            } 
        } 
 
        public boolean removeAll(final Collection<?> c) {
            lock.lock();
            try { 
                final M map = copy();
                try { 
                    return map.values().removeAll(c);
                } finally {