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

3
LINES

< > BotCompany Repo | #1032837 // pairWithCalculatedField

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

Libraryless. Click here for Pure Java version (3798L/22K).

static <A, B> Pair<A, B> pairWithCalculatedField(IF1<A, B> f, A a) {
  ret pair(a, f.get(a));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032837
Snippet name: pairWithCalculatedField
Eternal ID of this version: #1032837/2
Text MD5: b6c6105c062e5587b09eaaa7f89e8231
Transpilation MD5: 934065224e40c852c967d159f5b8e7e6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-06 17:51:01
Source code size: 97 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 68 / 94
Version history: 1 change(s)
Referenced in: [show references]