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

7
LINES

< > BotCompany Repo | #1004370 // getWhere - get elements that match a data condition (fields+values)

JavaX fragment (include)

static <A> L<A> getWhere(Collection<A> c, O... data) {
  new L l;
  for (A x : c)
    if (checkFields(x, data))
      l.add(x);
  ret l;
}

Author comment

Began life as a copy of #1003903

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004370
Snippet name: getWhere - get elements that match a data condition (fields+values)
Eternal ID of this version: #1004370/1
Text MD5: 37bc77a3706ef0a23f499efbd68275f8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-14 16:05:48
Source code size: 144 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 555 / 500
Referenced in: [show references]