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

3
LINES

< > BotCompany Repo | #1030959 // cgetOpt - cget with optCast

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

Transpiled version (14893L) is out of date.

static <A> A nuLike cgetOpt(Class<A> type, Concept c, S field) {
  ret optCast(type, cget(c, field));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030959
Snippet name: cgetOpt - cget with optCast
Eternal ID of this version: #1030959/3
Text MD5: 11123338e46461300aa8ee451912c214
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-15 16:36:09
Source code size: 105 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 158 / 249
Version history: 2 change(s)
Referenced in: [show references]