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

7
LINES

< > BotCompany Repo | #1016973 // onlyStringsShorterThan

JavaX fragment (include)

static L<S> onlyStringsShorterThan(Collection<S> l, final int n) {
  ret [S s : unnull(l) | l(s) < n];
}

static L<S> onlyStringsShorterThan(int n, Collection<S> l) {
  ret onlyStringsShorterThan(l, n);
}

Author comment

Began life as a copy of #1015267

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016973
Snippet name: onlyStringsShorterThan
Eternal ID of this version: #1016973/1
Text MD5: fe525dade1a7070a3537c9ab16af832f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-09 16:26:55
Source code size: 210 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 419 / 460
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)