ReflectionHelper中使用参数化类型

This commit is contained in:
yushijinhun 2018-02-18 16:01:21 +08:00
parent bde01af89d
commit 126b2a19e7
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4

View File

@ -52,14 +52,14 @@ public final class ReflectionHelper {
} }
PRIMITIVES = Lang.mapOf( PRIMITIVES = Lang.mapOf(
new Pair("byte", Byte.class), new Pair<>("byte", Byte.class),
new Pair("short", Short.class), new Pair<>("short", Short.class),
new Pair("int", Integer.class), new Pair<>("int", Integer.class),
new Pair("long", Long.class), new Pair<>("long", Long.class),
new Pair("char", Character.class), new Pair<>("char", Character.class),
new Pair("float", Float.class), new Pair<>("float", Float.class),
new Pair("double", Double.class), new Pair<>("double", Double.class),
new Pair("boolean", Boolean.class) new Pair<>("boolean", Boolean.class)
); );
} }