Libraryless. Click here for Pure Java version (2769L/16K).
1 | static <A, B> L<B> lambdaMapLike syncLambdaMap(IF1<A, B> f, Cl<A> l) {
|
2 | if (l == null) ret emptyList(); |
3 | synchronized(collectionMutex(l)) {
|
4 | ret map(l, f); |
5 | } |
6 | } |
Began life as a copy of #1026014
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030655 |
| Snippet name: | syncLambdaMap - lambdaMap with syncing on list |
| Eternal ID of this version: | #1030655/1 |
| Text MD5: | c2e0c8a21b6df8b71dec9f01f5540de3 |
| Transpilation MD5: | 41145b0e21d7d87c8d819d5932ec36d3 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-02-20 15:19:37 |
| Source code size: | 171 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 405 / 517 |
| Referenced in: | [show references] |