![]() ![]() pollFirst(): Returns and removes the first element of the deque.Throws an exception if the deque is empty. removeLast(): Returns and removes the last element of the deque.removeFirst(): Returns and removes the first element of the deque.peekLast(): Returns the last element of the deque.peekFirst(): Returns the first element of the deque.getLast(): Returns the last element of the deque.getFirst(): Returns the first element of the deque.offerLast(): Adds the specified element at the end of the deque.offerFirst(): Adds the specified element at the beginning of the deque.Throws an exception if the deque is full. addLast(): Adds the specified element at the end of the deque. ![]() Throws an Exception if the deque is full.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |