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

3
LINES

< > 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   

Travelled to 11 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, tslmcundralx, tvejysmllsmz

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: 464 / 1012
Referenced in: [show references]

Formerly at http://tinybrain.de/1003652 & http://1003652.tinybrain.de