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

7
LINES

< > BotCompany Repo | #1025136 // oMap - call object method on list

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

Transpiled version (2132L) is out of date.

static L oMap(O object, S methodName, Iterable l) {
  ret map(l, element -> call(object, methodName, element));
}

static L mapMethodLike oMap(S methodName, O object, Iterable l) {
  ret oMap(object, methodName, l);
}

Author comment

Began life as a copy of #1003239

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025136
Snippet name: oMap - call object method on list
Eternal ID of this version: #1025136/3
Text MD5: 3372437f9d16a9a469858412abd918d2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-08 17:53:43
Source code size: 223 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 221 / 325
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)