imsavva.com

showPostImage(890699667)

Uncaught exception: the image is currently being shown in a museum

What methods does Java Collection interface contain?

  • int size();
  • boolean isEmpty();
  • boolean contains(Object o);
  • Iterator iterator();
  • Object[] toArray();
  • T[] toArray(T[] a);
  • boolean add(E e);
  • boolean remove(Object o);
  • boolean containsAll(Collection<?> c);
  • boolean addAll(Collection<? extends E> c);
  • boolean removeAll(Collection<?> c);
  • boolean retainAll(Collection<?> c);
  • void clear();
Posted on 2016-03-19