Uses of Class
java.lang.SafeVarargs
-
Packages that use SafeVarargs Package Description java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.java.util.stream Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.javafx.scene.control.cell Thejavafx.scene.control.cell
package is where all cell-related classes are located, other than the core classes such asCell
,IndexedCell
,ListCell
,TreeCell
, andTableCell
.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. -
-
Uses of SafeVarargs in java.util
Methods in java.util with annotations of type SafeVarargs Modifier and Type Method 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<E>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>
Map. ofEntries(Map.Entry<? extends K,? extends V>... entries)
Returns an unmodifiable map containing keys and values extracted from the given entries. -
Uses of SafeVarargs in java.util.stream
Methods in java.util.stream with annotations of type SafeVarargs Modifier and Type Method Description static <T> Stream<T>
Stream. of(T... values)
Returns a sequential ordered stream whose elements are the specified values. -
Uses of SafeVarargs in javafx.scene.control.cell
Methods in javafx.scene.control.cell with annotations of type SafeVarargs Modifier and Type Method Description static <T> Callback<ListView<T>,ListCell<T>>
ChoiceBoxListCell. forListView(StringConverter<T> converter, T... items)
Creates a ChoiceBox cell factory for use inListView
controls.static <T> Callback<ListView<T>,ListCell<T>>
ChoiceBoxListCell. forListView(T... items)
Creates a ChoiceBox cell factory for use inListView
controls.static <T> Callback<ListView<T>,ListCell<T>>
ComboBoxListCell. forListView(StringConverter<T> converter, T... items)
Creates a ComboBox cell factory for use inListView
controls.static <T> Callback<ListView<T>,ListCell<T>>
ComboBoxListCell. forListView(T... items)
Creates a ComboBox cell factory for use inListView
controls.static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>>
ChoiceBoxTableCell. forTableColumn(StringConverter<T> converter, T... items)
Creates a ChoiceBox cell factory for use inTableColumn
controls.static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>>
ChoiceBoxTableCell. forTableColumn(T... items)
Creates a ChoiceBox cell factory for use inTableColumn
controls.static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>>
ComboBoxTableCell. forTableColumn(StringConverter<T> converter, T... items)
Creates a ComboBox cell factory for use inTableColumn
controls.static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>>
ComboBoxTableCell. forTableColumn(T... items)
Creates a ComboBox cell factory for use inTableColumn
controls.static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>
ChoiceBoxTreeTableCell. forTreeTableColumn(StringConverter<T> converter, T... items)
Creates a ChoiceBox cell factory for use inTreeTableColumn
controls.static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>
ChoiceBoxTreeTableCell. forTreeTableColumn(T... items)
Creates a ChoiceBox cell factory for use inTreeTableColumn
controls.static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>
ComboBoxTreeTableCell. forTreeTableColumn(StringConverter<T> converter, T... items)
Creates a ComboBox cell factory for use inTreeTableColumn
controls.static <S,T> Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>
ComboBoxTreeTableCell. forTreeTableColumn(T... items)
Creates a ComboBox cell factory for use inTreeTableColumn
controls.static <T> Callback<TreeView<T>,TreeCell<T>>
ChoiceBoxTreeCell. forTreeView(StringConverter<T> converter, T... items)
Creates a ChoiceBox cell factory for use inTreeView
controls.static <T> Callback<TreeView<T>,TreeCell<T>>
ChoiceBoxTreeCell. forTreeView(T... items)
Creates a ChoiceBox cell factory for use inTreeView
controls.static <T> Callback<TreeView<T>,TreeCell<T>>
ComboBoxTreeCell. forTreeView(StringConverter<T> converter, T... items)
Creates a ComboBox cell factory for use inTreeView
controls.static <T> Callback<TreeView<T>,TreeCell<T>>
ComboBoxTreeCell. forTreeView(T... items)
Creates a ComboBox cell factory for use inTreeView
controls.Constructors in javafx.scene.control.cell with annotations of type SafeVarargs Constructor Description ChoiceBoxListCell(StringConverter<T> converter, T... items)
Creates aChoiceBoxListCell
instance with the given items being used to populate theChoiceBox
when it is shown, and theStringConverter
being used to convert the item in to a user-readable form.ChoiceBoxListCell(T... items)
Creates a defaultChoiceBoxListCell
instance with the given items being used to populate theChoiceBox
when it is shown.ChoiceBoxTableCell(StringConverter<T> converter, T... items)
Creates aChoiceBoxTableCell
instance with the given items being used to populate theChoiceBox
when it is shown, and theStringConverter
being used to convert the item in to a user-readable form.ChoiceBoxTableCell(T... items)
Creates a defaultChoiceBoxTableCell
instance with the given items being used to populate theChoiceBox
when it is shown.ChoiceBoxTreeCell(StringConverter<T> converter, T... items)
Creates aChoiceBoxTreeCell
instance with the given items being used to populate theChoiceBox
when it is shown, and theStringConverter
being used to convert the item in to a user-readable form.ChoiceBoxTreeCell(T... items)
Creates a defaultChoiceBoxTreeCell
instance with the given items being used to populate theChoiceBox
when it is shown.ChoiceBoxTreeTableCell(StringConverter<T> converter, T... items)
Creates aChoiceBoxTreeTableCell
instance with the given items being used to populate theChoiceBox
when it is shown, and theStringConverter
being used to convert the item in to a user-readable form.ChoiceBoxTreeTableCell(T... items)
Creates a defaultChoiceBoxTreeTableCell
instance with the given items being used to populate theChoiceBox
when it is shown.ComboBoxListCell(StringConverter<T> converter, T... items)
Creates aComboBoxListCell
instance with the given items being used to populate theComboBox
when it is shown, and theStringConverter
being used to convert the item in to a user-readable form.ComboBoxListCell(T... items)
Creates a defaultComboBoxListCell
instance with the given items being used to populate theComboBox
when it is shown.ComboBoxTableCell(StringConverter<T> converter, T... items)
Creates aComboBoxTableCell
instance with the given items being used to populate theComboBox
when it is shown, and theStringConverter
being used to convert the item in to a user-readable form.ComboBoxTableCell(T... items)
Creates a defaultComboBoxTableCell
instance with the given items being used to populate theComboBox
when it is shown.ComboBoxTreeCell(StringConverter<T> converter, T... items)
Creates aComboBoxTreeCell
instance with the given items being used to populate theComboBox
when it is shown, and theStringConverter
being used to convert the item in to a user-readable form.ComboBoxTreeCell(T... items)
Creates a defaultComboBoxTreeCell
instance with the given items being used to populate theComboBox
when it is shown.ComboBoxTreeTableCell(StringConverter<T> converter, T... items)
Creates aComboBoxTreeTableCell
instance with the given items being used to populate theComboBox
when it is shown, and theStringConverter
being used to convert the item in to a user-readable form.ComboBoxTreeTableCell(T... items)
Creates a defaultComboBoxTreeTableCell
instance with the given items being used to populate theComboBox
when it is shown. -
Uses of SafeVarargs in javax.swing
Methods in javax.swing with annotations of type SafeVarargs Modifier and Type Method Description protected void
SwingWorker. publish(V... chunks)
Sends data chunks to theSwingWorker.process(java.util.List<V>)
method.
-