Libraryless. Click here for Pure Java version (3931L/23K).
1 | static <A> L<A> getMulti(L<A> l, L<Int> indices) {
|
2 | ret listGetMulti(l, indices); |
3 | } |
4 | |
5 | static <A> L<A> getMulti(L<A> l, int... indices) {
|
6 | ret listGetMulti(l, asList(indices)); |
7 | } |
8 | |
9 | static <A, B> Map<A, B> getMulti(Map<A, B> map, A... keys) {
|
10 | ret getMultipleKeys(map, keys); |
11 | } |
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: | #1028290 |
| Snippet name: | getMulti - synonym of listGetMulti & getMultipleKeys |
| Eternal ID of this version: | #1028290/4 |
| Text MD5: | 0234af76812e72694192bb7f9686e928 |
| Transpilation MD5: | 6fb643ab011f7e6db430800210122528 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-09-22 23:00:26 |
| Source code size: | 286 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 469 / 604 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |