com.fit2cloud.quartz.util.ClassUtils Maven / Gradle / Ivy
package com.fit2cloud.quartz.util;
public class ClassUtils {
public static Class>[] toClass(final Object... array) {
if (array == null) {
return null;
} else if (array.length == 0) {
return new Class[0];
}
final Class>[] classes = new Class[array.length];
for (int i = 0; i < array.length; i++) {
classes[i] = array[i] == null ? null : array[i].getClass();
}
return classes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy