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

10
LINES

< > BotCompany Repo | #1021823 // indexByFieldNotNull - synonym of indexByField

JavaX fragment (include)

// does not store null values
static Map indexByFieldNotNull(Iterable c, S field) {
  ret indexByField(c, field);
}



static Map mapMethodLike indexByFieldNotNull(S field, Iterable c) {
  ret indexByField(field, c);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021823
Snippet name: indexByFieldNotNull - synonym of indexByField
Eternal ID of this version: #1021823/1
Text MD5: cdc50edf78a7bdaa5a287a01d2582ddf
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-28 16:04:40
Source code size: 221 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 262 / 298
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)