public final class ArrayUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
EMPTY_BYTE_ARRAY
An empty immutable
byte array. |
static char[] |
EMPTY_CHAR_ARRAY
An empty immutable
char array. |
static String[] |
EMPTY_STRING_ARRAY
An empty immutable
String array. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(byte[] bytes,
byte expected) |
static boolean |
contains(char[] chars,
char expected) |
static boolean |
contains(String[] strings,
String expected) |
static boolean |
containsIgnoreCase(String[] strings,
String expected) |
public static final byte[] EMPTY_BYTE_ARRAY
byte array.public static final char[] EMPTY_CHAR_ARRAY
char array.public static boolean contains(String[] strings, String expected)
strings - the string[] to checkexpected - the string that we expectpublic static boolean contains(char[] chars,
char expected)
chars - the char[] to checkexpected - the char that we expectpublic static boolean contains(byte[] bytes,
byte expected)
bytes - the byte[] to checkexpected - the byte that we expectCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.