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

5
LINES

< > BotCompany Repo | #1029976 // stringToStringListOpt

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

Libraryless. Click here for Pure Java version (2511L/16K).

static LS lambdaMapLike stringToStringListOpt(IF1<S, LS> f, O o) {
  if (o cast S)
    ret f.get(o);
  ret (L) o;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1029976
Snippet name: stringToStringListOpt
Eternal ID of this version: #1029976/1
Text MD5: 29c9a30989fa4a8675bfff4e2f7f8be8
Transpilation MD5: 80f7ad4593d21da4057e5b1f83dea950
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-26 09:37:58
Source code size: 119 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 233 / 297
Referenced in: [show references]