程序包 cool.scx.util

类 ArrayUtils

java.lang.Object
cool.scx.util.ArrayUtils

public final class ArrayUtils extends Object
  • 构造器详细资料

    • ArrayUtils

      public ArrayUtils()
  • 方法详细资料

    • indexOf

      public static int indexOf(byte[] a, byte[] a1)
      indexOf 数组版本
      参数:
      a - 原数组
      a1 - 带查找的数组
      返回:
      索引
    • indexOf

      public static int indexOf(Object[] a, Object[] a1)
    • toPrimitive

      public static byte[] toPrimitive(Byte[] w)
    • toPrimitive

      public static long[] toPrimitive(Long[] w)
    • toPrimitive

      public static long[] toPrimitive(List<Long> w)
    • toWrapper

      public static Byte[] toWrapper(byte[] p)
    • toLongArray

      public static long[] toLongArray(int[] intArray)
    • concat

      public static <T> T[] concat(T[] first, T[] second)