import java.util.Collection;
import java.util.Iterator;
public class Utils {
public static boolean isEmpty(Collection c) {
if (c == null || c.size() == 0) {
return true;
}
for (Iterator iter = c.iterator(); iter.hasNext();) {
if (iter.next() != null) {
return false;
}
}
return true;
}
}