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

5
LINES

< > BotCompany Repo | #1021197 // containsAnythingBut

JavaX fragment (include)

static <A> bool containsAnythingBut(Iterable<A> l, A a) {
  if (l != null) for (A x : l)
    if (neq(x, a)) true;
  false;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021197
Snippet name: containsAnythingBut
Eternal ID of this version: #1021197/1
Text MD5: a9003557c3ab68d3be4490a32f91799b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-02 17:23:09
Source code size: 128 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 313 / 332
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)