public class ArrayUtils extends Object
Modifier and Type | Method and Description |
---|---|
static List<Long> |
asList(long... elements)
Copies an array of primitive longs while boxing them at the same time,
and then converting into a list.
|
public static List<Long> asList(long... elements)
Arrays.asList(Object[])
directly as that will create a list of arrays instead.elements
- The array of primitive longs to convert to a listlong
valuesCopyright © 2019. All rights reserved.