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

6
LINES

< > BotCompany Repo | #1002601 // containsWhere

JavaX fragment (include)

static boolean containsWhere(Collection l, S field, O value) {
  if (l != null) for (O x : l)
    if (eq(getOpt(x, field), value))
      ret true;
  ret 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: #1002601
Snippet name: containsWhere
Eternal ID of this version: #1002601/2
Text MD5: 76875e289b1dbce2762596b5e869179d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-06 12:33:42
Source code size: 166 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 553 / 492
Version history: 1 change(s)
Referenced in: [show references]