Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1002776 // getClass - has 3 functions

JavaX fragment (include)

static Class<?> getClass(S name) {
  ret _getClass(name);
}

static Class getClass(O o) {
  ret _getClass(o);
}

static Class getClass(O realm, S name) {
  ret _getClass(realm, name);
}

Author comment

Began life as a copy of #2000585

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002776
Snippet name: getClass - has 3 functions
Eternal ID of this version: #1002776/2
Text MD5: 1de3c268bcc6696fffd8953b0bfd3174
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-14 04:38:19
Source code size: 195 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 805 / 1574
Version history: 1 change(s)
Referenced in: #1003453 - _getClass - finds class by name, casts to class or returns class of object
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1011698 - getClass_vmName - expects a name in VM format ($ instead of .)
#1020742 - getClass_noConvertName - get class in realm, do not convert . to $ (?)
#3000382 - Answer for ferdie (>> t = 1, f = 0)