- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
String classToType(Class cls) {
if (cls == Point.class) {
return "int2";
} else if ((cls == Integer.TYPE) || (cls == Integer.class)) {
return "int";
} else if ((cls == Double.TYPE) || (cls == Double.class)) {
return "double";
} else if (cls == String.class) {
return "String";
} else if ((cls == Boolean.TYPE) || (cls == Boolean.class)) {
return "boolean";
} else {
return null;
}
}
guest 04.08.2011 19:47 # 0
Elvenfighter 04.08.2011 21:03 # −2
Lure Of Chaos 04.08.2011 21:09 # +1
tir 04.08.2011 21:23 # +2
guest 04.08.2011 21:10 # 0
Lure Of Chaos 04.08.2011 21:11 # 0
absolut 04.08.2011 21:34 # 0
Lure Of Chaos 04.08.2011 21:35 # 0
bugmenot 04.08.2011 22:21 # +2
Lure Of Chaos 04.08.2011 22:23 # 0
guest8 09.04.2019 11:17 # −999