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

3
LINES

< > BotCompany Repo | #1032089 // setVarWithConversion

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

Libraryless. Click here for Pure Java version (3302L/18K).

static <A, B> IVF1<A> lambdaMapLike setVarWithConversion(IF1<A, B> f, IVar<B> v) {
  ret a -> { if (v != null) v.set(f.get(a)); };
}

Author comment

Began life as a copy of #1016371

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032089
Snippet name: setVarWithConversion
Eternal ID of this version: #1032089/4
Text MD5: f241f8c413830a6f7a7290bafc5585b0
Transpilation MD5: 5b6cc516c1632a818a8d78c129747c93
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-11 14:04:31
Source code size: 134 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 75 / 121
Version history: 3 change(s)
Referenced in: [show references]