属性
Java
方法 1
方法 2
方法 3
Stack
Class
push(item) : O(1)
pop() : O(1)
Queue
LinkedList
Queue LinkedList PriorityQueue
add(E e), offer(E e) O(N)
poll(), remove() O(1)
LinkdeList
java 集合的小抄 http://calvin1978.blogcn.com/articles/collection.html
Last updated 5 years ago
Was this helpful?