public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static Set<Character> |
arrayToSet(char... array)
Converts an array of chars to a Set of Characters.
|
static boolean |
isEmpty(byte[] input)
Helper function to check if a byte array is empty
|
static boolean |
isEmpty(char[] input)
Helper function to check if a char array is empty
|
static boolean |
isEmpty(String input)
Helper function to check if a String is empty
|
public static Set<Character> arrayToSet(char... array)
array - the contents of the new Setpublic static boolean isEmpty(String input)
input - string input valuepublic static boolean isEmpty(byte[] input)
input - string input valuepublic static boolean isEmpty(char[] input)
input - string input valueCopyright © 2017. All rights reserved.