Notice

The English translation of this page has not been completed, you are welcome to contribute translations to us.

You can use the Chrome Translation Plugin to translate entire pages for reference.

VariousClass - class

class VariousClass(private vararg val name: String)

Change Records

v1.0.0 first

Function Illustrate

这是一个不确定性 Class 类名装载器,通过 name 装载 Class 名称数组。

get - method

fun get(loader: ClassLoader? = null, initialize: Boolean): Class<*>

Change Records

v1.0.0 first

Function Illustrate

获取匹配的实体类。

使用当前 loader 装载目标 Class

getOrNull - method

fun getOrNull(loader: ClassLoader? = null, initialize: Boolean): Class<*>?

Change Records

v1.0.0 first

Function Illustrate

获取匹配的实体类。

使用当前 loader 装载目标 Class

匹配不到 Class 会返回 null,不会抛出异常。