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

3
LINES

< > BotCompany Repo | #1022574 // quickImportTo - import if not a member of a certain class

JavaX fragment (include)

static <A> A nuLike quickImportTo(Class<A> c, O o) {
  ret isInstance(c, o) ? (A) o : quickImport(o);
}

Author comment

Began life as a copy of #1002778

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022574
Snippet name: quickImportTo - import if not a member of a certain class
Eternal ID of this version: #1022574/1
Text MD5: b15690bcbc41f84c54a28248502d77df
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-23 04:32:33
Source code size: 105 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 299 / 308
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)