Uses of Annotation Interface
java.lang.SafeVarargs
Packages that useSafeVarargs
Package
Description
Contains the collections framework, some internationalization support classes,a service loader, properties, random number generation, string parsingand scanning classes, base64 encoding and decoding, a bit array, andseveral miscellaneous utility classes.
Classes to support functional-style operations on streams of elements, suchas map-reduce transformations on collections.
Provides a set of "lightweight" (all-Java language) componentsthat, to the maximum degree possible, work the same on all platforms.
Uses ofSafeVarargs injava.util
Methods injava.util with annotations of typeSafeVarargsModifier and TypeMethodDescriptionstatic <T> booleanCollections.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.EnumSet.of(E first, E... rest) Creates an enum set initially containing the specified elements.static <E> List<E> List.of(E... elements) Returns an unmodifiable list containing an arbitrary number of elements.static <E> Set<E> Set.of(E... elements) Returns an unmodifiable set containing an arbitrary number of elements.static <K,V> Map <K, V> Returns an unmodifiable map containing keys and values extracted from the given entries.Uses ofSafeVarargs injava.util.stream
Methods injava.util.stream with annotations of typeSafeVarargsUses ofSafeVarargs injavax.swing
Methods injavax.swing with annotations of typeSafeVarargsModifier and TypeMethodDescriptionprotected final voidSends data chunks to theSwingWorker.process(List)method.