1 | static <A> bool containsAnythingBut(Iterable<A> l, A a) {
|
2 | if (l != null) for (A x : l) |
3 | if (neq(x, a)) true; |
4 | false; |
5 | } |
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: | 568 / 569 |
| Referenced in: | [show references] |