java collection类图
2018-06-06 16:01:47 0 举报
Java 集合类图
作者其他创作
大纲/内容
AbstractList
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
AbstractSet
Set
Stack
AbstractQueue
ListIterator
boolean hasPrevious();E previous();int nextIndex();int previusIndex();void remove();void set(E e);void add(E e);
ArrayList
transient Object[] elementData;- int size;
AbstractCollection
Collection
int size();boolean isEmpty();boolean contains(Object o);Iterator iterator();Object[] toArray();boolean add(E e);boolean remove(Object o);boolean containsAll(Collectionc);boolean addAll(Collection c);
List
Queue
boolean offer(E e);E remove();E poll();E element();E peek();
HashSet
Vector
Iterator
boolean hasNext();E next();
+abstract int size();+abstract boolean isEmpty();+abstract Enumeration keys();+abstract Enumeration elements();
Iterable
Iterator iterator();
收藏
0 条评论
下一页