@Test public void arrayElementsAreNull() throws Exception { assertTrue(ListProcessor.arrayElementsAreNull(new String[3])); String[] arrayOfWords = {"a","b","c"}; assertFalse(ListProcessor.arrayElementsAreNull(arrayOfWords)); }
public static boolean arrayElementsAreNull(String[] uncontainedArray) { boolean empty = true; for (Object ob : uncontainedArray) { if (ob != null) { empty = false; break; } } return empty; }
ListProcessor { public static boolean arrayElementsAreNull(String[] uncontainedArray) { boolean empty = true; for (Object ob : uncontainedArray) { if (ob != null) { empty = false; break; } } return empty; } }
ListProcessor { public static boolean arrayElementsAreNull(String[] uncontainedArray) { boolean empty = true; for (Object ob : uncontainedArray) { if (ob != null) { empty = false; break; } } return empty; }  }
ListProcessor { public static boolean arrayElementsAreNull(String[] uncontainedArray) { boolean empty = true; for (Object ob : uncontainedArray) { if (ob != null) { empty = false; break; } } return empty; }  static String[] toArray(String list, String delimiter); static int getIndex(String index, int listLength); static String[] reverse(String[] list); static int[] reverse(int[] list); static double[] reverse(double[] list); static int[] toIntArray(String list, String delimiter); static double[] toDoubleArray(String list, String delimiter); static String toString(double[] list, String delimiter); static String toString(int[] list, String delimiter); static String toString(String[] list, String delimiter); static String[] sort(String[] unsorted); static int[] sort(int[] unsorted); static double[] sort(double[] unsorted); static int[] trimPercent(int[] array, int percent); static String[] trimPercent(String[] array, int percent); static double[] trimPercent(double[] array, int percent); static boolean arrayElementsAreNull(String[] uncontainedArray); static String[] getUncontainedArray(String[] subArray, String[] containerArray, boolean ignoreCase); static boolean elementsAreEqual(String a, String b, boolean ignoreCase); }
ListProcessor { public static boolean arrayElementsAreNull(String[] uncontainedArray) { boolean empty = true; for (Object ob : uncontainedArray) { if (ob != null) { empty = false; break; } } return empty; }  static String[] toArray(String list, String delimiter); static int getIndex(String index, int listLength); static String[] reverse(String[] list); static int[] reverse(int[] list); static double[] reverse(double[] list); static int[] toIntArray(String list, String delimiter); static double[] toDoubleArray(String list, String delimiter); static String toString(double[] list, String delimiter); static String toString(int[] list, String delimiter); static String toString(String[] list, String delimiter); static String[] sort(String[] unsorted); static int[] sort(int[] unsorted); static double[] sort(double[] unsorted); static int[] trimPercent(int[] array, int percent); static String[] trimPercent(String[] array, int percent); static double[] trimPercent(double[] array, int percent); static boolean arrayElementsAreNull(String[] uncontainedArray); static String[] getUncontainedArray(String[] subArray, String[] containerArray, boolean ignoreCase); static boolean elementsAreEqual(String a, String b, boolean ignoreCase);  }