public class ArrayUtil extends Object
| Constructor and Description |
|---|
ArrayUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
cloneOrEmpty(int[] source) |
static String[] |
cloneOrEmpty(String[] source) |
static <T> boolean |
isOneOf(T left,
T... rights)
Tests if left is equal to one of the rights.
|
static String |
join(String[] partials,
String separator)
Joins a string array, with the given separator.
|
public static int[] cloneOrEmpty(int[] source)
@SafeVarargs public static <T> boolean isOneOf(T left, T... rights)
Copyright © 2004–2025. All rights reserved.