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


< > BotCompany Repo | #1003652 // eqOneOf - equals, multiple checks

JavaX fragment (include)

static bool eqOneOf(O o, O... l) {
  for (O x : l) if (eq(o, x)) ret true; ret false;

Author comment

Began life as a copy of #1003577

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003652
Snippet name: eqOneOf - equals, multiple checks
Eternal ID of this version: #1003652/1
Text MD5: 5a56eda43612c2ebf5dafff2bb2b2825
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-25 12:57:53
Source code size: 89 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 612 / 1190
Referenced in: [show references]