Code example for Collection

Methods: iterator

        public final boolean containsAll(final Collection<?> c) {
            return getDelegate().containsAll(c);
        public final Iterator<E> iterator() {
            return new UnmodifiableIterator<E>(getDelegate().iterator());
        public final boolean isEmpty() { 
            return getDelegate().isEmpty();
        public final int size() { 
            return getDelegate().size();
        public final Object[] toArray() {
            return getDelegate().toArray();
Connect your IDE to all the code out there  Get Codota for Java