| Package | Description | 
|---|---|
| java.util | 
 Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array). 
 | 
| java.util.stream | 
 Classes to support functional-style operations on streams of elements, such
 as map-reduce transformations on collections. 
 | 
| javax.swing | 
 Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static <T> boolean | 
Collections.addAll(Collection<? super T> c,
      T... elements)
Adds all of the specified elements to the specified collection. 
 | 
static <T> List<T> | 
Arrays.asList(T... a)
Returns a fixed-size list backed by the specified array. 
 | 
static <E extends Enum<E>> | 
EnumSet.of(E first,
  E... rest)
Creates an enum set initially containing the specified elements. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static <T> Stream<T> | 
Stream.of(T... values)
Returns a sequential ordered stream whose elements are the specified values. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
SwingWorker.publish(V... chunks)
Sends data chunks to the  
SwingWorker.process(java.util.List<V>) method. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates.  All rights reserved.