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

4
LINES

< > BotCompany Repo | #1025954 // vm_registerClassInstance

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2148L/14K).

static <A, B extends A> B nuLike vm_registerClassInstance(Class<A> c, B o) {
  if (c != null && o != null) vm_registeredInstancesSet(c).add(o);
  ret o;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025954
Snippet name: vm_registerClassInstance
Eternal ID of this version: #1025954/5
Text MD5: 6ec7739f44a40dea4cb0ef212e2645bf
Transpilation MD5: 37d5ff5804209b7ced4f875f0ee9ae60
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-02 12:59:58
Source code size: 157 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 278
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1025955 - vm_registeredInstancesSet
#1025957 - vm_registeredInstances