Class ArrayUtils

java.lang.Object
com.googlecode.objectify.util.ArrayUtils

public class ArrayUtils extends Object
  • Method Details

    • 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 use Arrays.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