Class的isAssignableFrom方法详解
类的Class实例中有一个isAssignableFrom方法,这个方法是用来判断两个类的之间的关联关系,源码如下: /** * Determines if the class or interface represented by this * {@code Class} object is either the same as, or is a superclass...