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

15
LINES

< > BotCompany Repo | #1003047 - collect - extended synonym of collectField

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

Transpiled version (1286L) is out of date.

static L collect(Iterable c, S field) {
  ret collectField(c, field);
}

static L mapMethodLike collect(S field, Iterable c) {
  ret collectField(c, field);
}

/*ifclass Concept
static L collect(Class c, S field) {
  ret collect(list(c), field);
}
endif
TODO: make translator ignore stuff in ifclass until resolved
*/

Author comment

Began life as a copy of #1002318

download  show line numbers  debug dex   

Travelled to 12 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, podlckwnjdmb, tslmcundralx, tvejysmllsmz, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1003047
Snippet name: collect - extended synonym of collectField
Eternal ID of this version: #1003047/8
Text MD5: 5e79132f7af6f060d99f26f1d7e96543
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-21 00:14:38
Source code size: 331 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 526 / 925
Version history: 7 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1003047 & http://1003047.tinybrain.de