Class IntArrayUtil
java.lang.Object
com.espertech.esper.common.internal.util.IntArrayUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int[]
append
(int[] array, int value) static boolean
compareParentKey
(int[] key, int[] parentKey) static int[]
copy
(int[] src) static int[]
getParentPath
(int[] path) static int[]
static int[]
readOptionalArray
(DataInput input) static int[]
toArray
(Collection<Integer> collection) static Integer[]
toBoxedArray
(Collection<Integer> collection) toIterator
(int[] array) static void
writeArray
(int[] ints, DataOutput output) static void
writeOptionalArray
(int[] ints, DataOutput output)
-
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
- Throws:
IOException
-
writeArray
- Throws:
IOException
-
readOptionalArray
- Throws:
IOException
-
readArray
- Throws:
IOException
-
toIterator
-
append
public static int[] append(int[] array, int value) -
copy
public static int[] copy(int[] src) -
toArray
-
toBoxedArray
-
compareParentKey
public static boolean compareParentKey(int[] key, int[] parentKey)
-