Add to a collection

ReturnMethodSummary
static<T> boolean addAll(Collection<? super T> c, T... elements) Adds all of the specified elements to the specified collection.
static<T> Queue<T> asLifoQueue(Deque<T> deque) Returns a view of a Deque as a Last-in-first-out (Lifo) Queue.
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.