public class IntExtensions extends Object
| Constructor and Description |
|---|
IntExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
getAt(int[] array,
IntRange range) |
static int[] |
newPrimitiveIntArray(int size,
int defaultValue) |
static int[] |
newPrimitiveIntArray(int size,
IntToIntFunction filler) |
static int[] |
newPrimitiveIntArray(IntRange range) |
static int[][] |
newPrimitiveIntArray2(int size1,
int[] defaultValue) |
static int[][] |
newPrimitiveIntArray2(int size1,
int size2,
int defaultValue) |
static int[][] |
newPrimitiveIntArray2(int size1,
int size2,
Int2ToIntFunction filler) |
static int[][][] |
newPrimitiveIntArray3(int size1,
int[][] defaultValue) |
static int[][][] |
newPrimitiveIntArray3(int size1,
int size2,
int[] defaultValue) |
static int[][][] |
newPrimitiveIntArray3(int size1,
int size2,
int size3,
int defaultValue) |
static int[][][] |
newPrimitiveIntArray3(int size1,
int size2,
int size3,
Int3ToIntFunction filler) |
static int[][][][] |
newPrimitiveIntArray4(int size1,
int[][][] defaultValue) |
static int[][][][] |
newPrimitiveIntArray4(int size1,
int size2,
int[][] defaultValue) |
static int[][][][] |
newPrimitiveIntArray4(int size1,
int size2,
int size3,
int[] defaultValue) |
static int[][][][] |
newPrimitiveIntArray4(int size1,
int size2,
int size3,
int size4,
int defaultValue) |
static int[][][][] |
newPrimitiveIntArray4(int size1,
int size2,
int size3,
int size4,
Int4ToIntFunction filler) |
static int[] |
setAt(int[] array,
int[] indices,
int[] other) |
static int[] |
setAt(int[] array,
IntPredicate predicate,
int[] other) |
static int[] |
setAt(int[] array,
IntRange range,
int[] other) |
static int |
sum(int[] array) |
static int |
upperBound(int[] s) |
public static int upperBound(int[] s)
public static int sum(int[] array)
public static int[] getAt(int[] array,
IntRange range)
public static int[] setAt(int[] array,
IntRange range,
int[] other)
public static int[] setAt(int[] array,
IntPredicate predicate,
int[] other)
public static int[] setAt(int[] array,
int[] indices,
int[] other)
public static int[] newPrimitiveIntArray(IntRange range)
public static int[] newPrimitiveIntArray(int size,
IntToIntFunction filler)
public static int[][] newPrimitiveIntArray2(int size1,
int size2,
Int2ToIntFunction filler)
public static int[][][] newPrimitiveIntArray3(int size1,
int size2,
int size3,
Int3ToIntFunction filler)
public static int[][][][] newPrimitiveIntArray4(int size1,
int size2,
int size3,
int size4,
Int4ToIntFunction filler)
public static int[] newPrimitiveIntArray(int size,
int defaultValue)
public static int[][] newPrimitiveIntArray2(int size1,
int size2,
int defaultValue)
public static int[][] newPrimitiveIntArray2(int size1,
int[] defaultValue)
public static int[][][] newPrimitiveIntArray3(int size1,
int size2,
int size3,
int defaultValue)
public static int[][][] newPrimitiveIntArray3(int size1,
int size2,
int[] defaultValue)
public static int[][][] newPrimitiveIntArray3(int size1,
int[][] defaultValue)
public static int[][][][] newPrimitiveIntArray4(int size1,
int size2,
int size3,
int size4,
int defaultValue)
public static int[][][][] newPrimitiveIntArray4(int size1,
int size2,
int size3,
int[] defaultValue)
public static int[][][][] newPrimitiveIntArray4(int size1,
int size2,
int[][] defaultValue)
public static int[][][][] newPrimitiveIntArray4(int size1,
int[][][] defaultValue)
Copyright © 2021 vpc open source initiative. All rights reserved.