Java_Collection_UML
2017-09-01 15:38:10 2 举报
Java集合框架Collection系列UML图
作者其他创作
大纲/内容
TransferQueue
+ boolean tryTransfer(E e)+ void transfer(E e)...
HashSet
+ boolean isEmpty()+ boolean add(E e)...
NavigableSet
+ E lower(E e)+ E floor(E e)...
ConcurrentSkipListSet
+ E higher(E e)+ E pollFirst()...
LinkedBlockingDeque
- int count- int capacity...
+ void addFirst(E e)+ void addLast(E e)...
AbstractSequentialList
PriorityQueue
- Object[] queue- int size...
+ boolean add(E e)+ boolean offer(E e)...
LinkedList
- int size = 0- Node first- Node last
- void linkFirst(E e)+ boolean add(E e)...
List
BlockingQueue
ArrayBlockingQueue
- Object[] items- int takeIndex...
AbstractQueue
+ boolean add(E e)+ E get(int index)...
Stack
+ E push(E item)+ E pop()...
AbstractList
AbstractSet
RegularEnumSet
- long elements
+ void addAll()+ void complement()...
DelayQueue
- Thread leader- Condition available...
+ E take()+ E peek()...
AbstractCollection
+ Iterator iterator()+ int size()
+ boolean isEmpty()+ boolean contains(Object o)...
ArrayList
- int DEFAULT_CAPACITY = 10- Object[] elementData...
+ void trimToSize()+ int indexOf(Object o)...
SortedSet
+ E first()+ E last()...
Deque
LinkedTransferQueue
- int FRONT_SPINS- int CHAINED_SPINS...
+ boolean hasNext()+ E next()...
BlockingDeque
ArrayDeque
- Object[] elements- int head...
EnumSet
- Class elementType- Enum[] universe
+ noneOf(Class elementType)+ allOf(Class elementType)...
PriorityBlockingQueue
CopyOnWriteArraySet
-CopyOnWriteArrayList al
+ boolean contains(Object o)+ Object[] toArray()...
SynchronousQueue
- int NCPUS- int maxTimedSpins
+ boolean offer(E e)+ E take()...
Iterator
+ Iterator iterator()...
ConcurrentLinkedDeque
- Node head- Node tail
+ void updateHead()+ void updateTail()...
Vector
- Object[] elementData- int elementCount- int capacityIncrement
CopyOnWriteArrayList
- ReentrantLock lock- Object[] array
+ int indexOf(Object o)+ Object[] toArray()...
LinkedBlockingQueue
- int capacity- Node head...
+ E poll()+ E peek()...
Collection
+ contains+ boolean add(E e)+ boolean remove(Object o)...
Iterable
TreeSet
JumboEnumSet
- long elements[]- int size
Set
LinkedHashSet
+ LinkedHashSet(int initCap)+Spliterator spliterator()...
Queue
收藏
收藏
0 条评论
下一页