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

3
LINES

< > BotCompany Repo | #1036615 // iConst - synonym of if0_const

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

Libraryless. Click here for Pure Java version (38L/1K).

static <A> IF0<A> iConst(A a) {
  ret () -> a;
}

Author comment

Began life as a copy of #1031369

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036615
Snippet name: iConst - synonym of if0_const
Eternal ID of this version: #1036615/4
Text MD5: 10f5814782e65d0df6eb4c774068cdf1
Transpilation MD5: 7da6c46e2dc8ae57c7cb6d4f1ff93a6b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-04-29 22:41:12
Source code size: 50 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 196 / 256
Version history: 3 change(s)
Referenced in: #761 - New #629 - Standard functions list (LIVE) - continued on #1006654