正在加载图片...
简介List界面 Collection界面继承了 iterator界面 package java. utili public interface Collection<E> extends Iterable<e> t int sizeof boolean isEmpty ()i boolean contains(object o)i Iterator<e> iterator( <T> T[] toArray(T[] a)i boolean add(e o) boolean remove(object o)i boolean containsAll(collection<?> c)i boolean addAll(Collection<? extends E> c)i boolean removeAll( Collection<?> c)i boolean retainAll(collection<?> c) void clear()i boolean equals(object o)i int hashCode (简介List界面 • Collection界面继承了Iterator界面 package java.util; public interface Collection<E> extends Iterable<E> { int size(); boolean isEmpty(); boolean contains(Object o); Iterator<E> iterator(); <T> T[] toArray(T[] a); boolean add(E o); boolean remove(Object o); boolean containsAll(Collection<?> c); boolean addAll(Collection<? extends E> c); boolean removeAll(Collection<?> c); boolean retainAll(Collection<?> c); void clear(); boolean equals(Object o); int hashCode(); }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有