public final class CollectionUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
contains(byte[] value,
byte expect) |
static int |
contains(int[] value,
int expect) |
static int |
contains(long[] value,
long expect) |
static int |
contains(short[] value,
short expect) |
static byte[] |
toByteArray(Collection<? extends Number> collection) |
static double[] |
toDoubleArray(Collection<? extends Number> collection) |
static float[] |
toFloatArray(Collection<? extends Number> collection) |
static int[] |
toIntArray(Collection<? extends Number> collection) |
static long[] |
toLongArray(Collection<? extends Number> collection) |
static short[] |
toShortArray(Collection<? extends Number> collection) |
public static int contains(int[] value,
int expect)
public static int contains(long[] value,
long expect)
public static int contains(byte[] value,
byte expect)
public static int contains(short[] value,
short expect)
public static byte[] toByteArray(Collection<? extends Number> collection)
public static int[] toIntArray(Collection<? extends Number> collection)
public static long[] toLongArray(Collection<? extends Number> collection)
public static short[] toShortArray(Collection<? extends Number> collection)
public static double[] toDoubleArray(Collection<? extends Number> collection)
public static float[] toFloatArray(Collection<? extends Number> collection)
Copyright © 2017. All rights reserved.