Two Linked Structures
- LinkedBlockingQueue
It makes sure all the jobs will be executed sequentially. The take() method retrieves and removes the head of this queue, waiting if necessary until an element becomes available.
- LinkedHashMap
It maintains a doubly-linked list internally and keep the order that the key is inserted.
No comments:
Post a Comment