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

3
LINES

< > BotCompany Repo | #1027452 // dynShortNamed - filter list by dynamic short name

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2294L/15K).

static <A> L<A> mapMethodLike dynShortNamed(S name, Iterable<A> l) {
  ret filter(l, o -> eq(dynShortName(o), name));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027452
Snippet name: dynShortNamed - filter list by dynamic short name
Eternal ID of this version: #1027452/2
Text MD5: 902dd1995594a12b26fead01bcc6dde5
Transpilation MD5: b6e07708a31af0d06f151d0f3e7992e8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-22 11:51:56
Source code size: 121 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 130 / 207
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1027456 - dynShortNamed_gen - filter list by dynamic short name