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

3
LINES

< > BotCompany Repo | #1019279 // f1_new - constructor as F1

JavaX fragment (include)

static <A, B> F1<A, B> f1_new(final Class<B> c) {
  ret func(A a) -> B { newInstance(c, a) };
}

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019279
Snippet name: f1_new - constructor as F1
Eternal ID of this version: #1019279/5
Text MD5: 5f4a0643dac7f1b4bc478a2d3c724704
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-29 11:30:26
Source code size: 99 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 295 / 310
Version history: 4 change(s)
Referenced in: [show references]