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

7
LINES

< > BotCompany Repo | #1010627 // containsExactObject - check if collection contains an exact object (==)

JavaX fragment (include)

static bool containsExactObject(Collection c, O o) {
  if (c != null)
    for (O x : c)
      if (x == o)
        true;
  false;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010627
Snippet name: containsExactObject - check if collection contains an exact object (==)
Eternal ID of this version: #1010627/1
Text MD5: faf777251813511d597b2c569dcef3b6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-23 20:40:14
Source code size: 136 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 396 / 445
Referenced in: [show references]