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

7
LINES

< > BotCompany Repo | #1008608 // notStartingWith - only return elements not starting with X

JavaX fragment (include)

static L<S> notStartingWith(Collection<S> l, fS prefix) {
  ret [S s : unnull(l) | !startsWith(s, prefix)];
}

static L<S> notStartingWith(S prefix, Collection<S> l) {
  ret notStartingWith(l, prefix);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008608
Snippet name: notStartingWith - only return elements not starting with X
Eternal ID of this version: #1008608/3
Text MD5: dc2c9c6019648a13cb2750dc8e25f4b1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-25 16:11:57
Source code size: 209 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 517 / 563
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008860 - startingWith - only return elements starting with X
#1014360 - notEndingWith - only return elements not ending with X
#1032374 - notStartingWithAny