Class ArrayUtil
java.lang.Object
com.openhtmltopdf.util.ArrayUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int[]cloneOrEmpty(int[] source) static String[]cloneOrEmpty(String[] source) static <T> booleanisOneOf(T left, T... rights) Tests if left is equal to one of the rights.static StringJoins a string array, with the given separator.
-
Constructor Details
-
ArrayUtil
public ArrayUtil()
-
-
Method Details
-
cloneOrEmpty
-
cloneOrEmpty
public static int[] cloneOrEmpty(int[] source) -
isOneOf
Tests if left is equal to one of the rights. Also returns true if both are null. -
join
-