List of utility methods to do Class InstanceOf
if (objs.length != classes.length) return false; for (int i = 0; i < objs.length; i++) { if (objs[i] != null && !asBoxedClass(classes[i]).isInstance(objs[i])) return false; return true;