T - all variable arguments have the same type.public class VarArgs<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
private T[] |
arguments
Variable arguments storage.
|
static VarArgs<Object> |
NULL
Predefined NULL variable arguments instance.
|
| Constructor and Description |
|---|
VarArgs(T... arguments)
Construct variable arguments instance.
|
| Modifier and Type | Method and Description |
|---|---|
T[] |
getArguments()
Get arguments array.
|
Class<T> |
getType()
Get variable arguments type.
|
private T[] arguments
@SafeVarargs public VarArgs(T... arguments)
arguments - variable number of arguments.Copyright © 2018. All rights reserved.