Class IntArrayUtil

java.lang.Object
com.espertech.esper.common.internal.util.IntArrayUtil

public class IntArrayUtil extends Object
  • Field Details

    • EMPTY_ARRAY

      public static final int[] EMPTY_ARRAY
  • Constructor Details

    • IntArrayUtil

      public IntArrayUtil()
  • Method Details

    • getParentPath

      public static int[] getParentPath(int[] path)
    • writeOptionalArray

      public static void writeOptionalArray(int[] ints, DataOutput output) throws IOException
      Throws:
      IOException
    • writeArray

      public static void writeArray(int[] ints, DataOutput output) throws IOException
      Throws:
      IOException
    • readOptionalArray

      public static int[] readOptionalArray(DataInput input) throws IOException
      Throws:
      IOException
    • readArray

      public static int[] readArray(DataInput input) throws IOException
      Throws:
      IOException
    • toIterator

      public static Iterator<Integer> toIterator(int[] array)
    • append

      public static int[] append(int[] array, int value)
    • copy

      public static int[] copy(int[] src)
    • toArray

      public static int[] toArray(Collection<Integer> collection)
    • toBoxedArray

      public static Integer[] toBoxedArray(Collection<Integer> collection)
    • compareParentKey

      public static boolean compareParentKey(int[] key, int[] parentKey)