Code example for Collection

Methods: isEmpty

        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();
        public final <T> T[] toArray(final T[] a) {
            return getDelegate().toArray(a);
Connect your IDE to all the code out there  Get Codota for Java