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

4
LINES

< > BotCompany Repo | #1023904 // subMap

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

Libraryless. Click here for Pure Java version (29L/1K).

// fromKey = inclusive, toKey = exclusive
static <A, B> SortedMap<A, B> subMap(SortedMap<A, B> map, A fromKey, A toKey) {
  ret map == null ? null : map.subMap(fromKey, toKey);
}

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: #1023904
Snippet name: subMap
Eternal ID of this version: #1023904/2
Text MD5: 949a21e8d27a2e464fc880283475529c
Transpilation MD5: bfcebbbada21ef2ab78947b389acba10
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-12 00:57:29
Source code size: 181 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 228 / 338
Version history: 1 change(s)
Referenced in: [show references]