Libraryless. Click here for Pure Java version (106L/1K).
static <A, B> Pair<A, B> higherPair(NavigableMap<A, B> map, A key) { if (map == null) null; var e = map.higherEntry(key); ret mapEntryToPair(e); }
Began life as a copy of #1033283
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033284 |
| Snippet name: | higherPair |
| Eternal ID of this version: | #1033284/1 |
| Text MD5: | 0c5e35f30a223acf9849b5b7ba8f73c0 |
| Transpilation MD5: | 5a16d883cae3ff15d07f55961cf7bea9 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-18 08:02:53 |
| Source code size: | 156 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 373 / 474 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |