public final class ArrayUtil extends Object
Modifier and Type | Method and Description |
---|---|
static int[] |
cloneArray(int[] src) |
static float[] |
fillWithValue(float[] a, float value) |
static int[] |
fillWithValue(int[] a, int value) |
static |
fillWithValue(T[] a, T value) |
static int |
hashCode(byte[] a) |
static byte[] |
shortenArray(byte[] src, int length) |
static int[] |
toArray(Collection<Integer> collection) |
public static byte[] shortenArray(byte[] src, int length)
public static int[] toArray(Collection<Integer> collection)
public static int hashCode(byte[] a)
public static int[] fillWithValue(int[] a, int value)
public static float[] fillWithValue(float[] a, float value)
public staticvoid fillWithValue(T[] a, T value)
public static int[] cloneArray(int[] src)
Copyright © 1998–2017 iText Group NV. All rights reserved.