if (theClass.isInstance(theObject)) { // ... }
if (theClass.isAssignableFrom(theInstance.getClass())) { // ... }
62,615
社区成员
307,307
社区内容
加载中
试试用AI创作助手写篇文章吧