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

6
LINES

< > BotCompany Repo | #1004382 // anyEndsWith

JavaX fragment (include)

static bool anyEndsWith(L<S> l, S s) {
  for (S x : l)
    if (x.endsWith(s))
      true;
  false;
}

Author comment

Began life as a copy of #1003994

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: #1004382
Snippet name: anyEndsWith
Eternal ID of this version: #1004382/1
Text MD5: 64bb06b651882a339d49276a193bdddb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-15 13:32:45
Source code size: 105 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 460 / 452
Referenced in: [show references]