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

7
LINES

< > BotCompany Repo | #1018537 // uniquifyByField

JavaX fragment (include)

1  
static <A> L<A> uniquifyByField(Iterable<A> c, S field) {
2  
  ret valuesList(indexByField(c, field));
3  
}
4  
5  
static <A> L<A> uniquifyByField(S field, Iterable<A> c) {
6  
  ret uniquifyByField(c, field);
7  
}

Author comment

Began life as a copy of #1002467

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018537
Snippet name: uniquifyByField
Eternal ID of this version: #1018537/1
Text MD5: 5e6b0094bb48873f910c0abefadb2f9c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-03 17:39:14
Source code size: 201 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 305 / 330
Referenced in: [show references]