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

3
LINES

< > BotCompany Repo | #1004824 // internIfLongerThan

JavaX fragment (include)

static S internIfLongerThan(S s, int l) {
  ret s == null ? null : l(s) >= l ? intern(s) : s;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004824
Snippet name: internIfLongerThan
Eternal ID of this version: #1004824/2
Text MD5: 6ce5f9eae8b2c77ac0b5db6796b916f6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-02 05:53:05
Source code size: 97 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 525 / 557
Version history: 1 change(s)
Referenced in: [show references]