Package com.googlecode.objectify.util
Class ArrayUtils
- java.lang.Object
-
- com.googlecode.objectify.util.ArrayUtils
-
public class ArrayUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
asList
public 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. Can't useArrays.asList(Object[])
directly as that will create a list of arrays instead.- Parameters:
elements
- The array of primitive longs to convert to a list- Returns:
- A list of boxed
long
values
-
-