1 | static Class<?> getClass(String name) { |
2 | try { |
3 | return Class.forName(name); |
4 | } catch (ClassNotFoundException e) { |
5 | return null; |
6 | } |
7 | } |
Snippet is not live.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #2000491 |
Snippet name: | getClass(String) |
Eternal ID of this version: | #2000491/1 |
Text MD5: | 2db933e51b58120fe970726bf120c73e |
Author: | stefan |
Category: | |
Type: | New Tinybrain snippet |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-08-02 20:20:03 |
Source code size: | 161 bytes / 7 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 605 / 2265 |
Referenced in: | [show references] |