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

11
LINES

< > BotCompany Repo | #1028290 // getMulti - synonym of listGetMulti & getMultipleKeys

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

Libraryless. Click here for Pure Java version (3931L/23K).

static <A> L<A> getMulti(L<A> l, L<Int> indices) {
  ret listGetMulti(l, indices);
}

static <A> L<A> getMulti(L<A> l, int... indices) {
  ret listGetMulti(l, asList(indices));
}

static <A, B> Map<A, B> getMulti(Map<A, B> map, A... keys) {
  ret getMultipleKeys(map, keys);
}

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: 202 / 274
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1032558 - collectMultipleKeys