All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fit2cloud.quartz.util.ClassUtils Maven / Gradle / Ivy

There is a newer version: 1.0.8
Show newest version
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