public class ArrayHelper extends Object
Array utility functions.| Constructor and Description |
|---|
ArrayHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsIgnoreCase(String[] a,
String x) |
static String |
oneInBoth(String[] a,
String[] b) |
public static boolean containsIgnoreCase(String[] a, String x)
a - the array in which we search for x, may be nullx - the value to look for, may be nulla contains x ignoring casepublic static String oneInBoth(String[] a, String[] b)
a - an array in which we search for a value which is also in
b, may be nullb - another array in which we search for a value which is also in
a, may be nulla and the b array or null if not foundCopyright © 2021. All rights reserved.