1 /* 2 * Copyright (c) 2007 Mockito contributors 3 * This program is made available under the terms of the MIT License. 4 */ 5 package org.mockito.internal.util.collections; 6 7 @SuppressWarnings("unchecked") 8 public class ArrayUtils { 9 isEmpty(T[] array)10 public <T> boolean isEmpty(T[] array) { 11 return array == null || array.length == 0; 12 } 13 14 }