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

3
LINES

< > BotCompany Repo | #1023906 // lastKey

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

Libraryless. Click here for Pure Java version (10690L/58K).

static <A, B> A lastKey(NavigableMap<A, B> map) {
  ret empty(map) ? null : map.lastKey();
}

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: #1023906
Snippet name: lastKey
Eternal ID of this version: #1023906/4
Text MD5: de89d02bf823c1db50182b5b8f36aff4
Transpilation MD5: a5ad846595b727244fb6c94793323f4c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-05-23 17:37:29
Source code size: 94 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 195 / 306
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1023909 - lastKeyOr0L