Libraryless. Click here for Pure Java version (60L/1K).
sbool isSortedList(Cl l) { Iterator it = iterator(l); if (!it.hasNext()) true; O a = it.next(); while (it.hasNext()) { O b = it.next(); if (cmp(a, b) > 0) false; a = b; } true; }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1005380 |
Snippet name: | isSortedList |
Eternal ID of this version: | #1005380/2 |
Text MD5: | fcc0384fcf6c5c3b516e77ac8a649260 |
Transpilation MD5: | 7d8503be89b9983a0ff80ce49132376f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-23 14:03:36 |
Source code size: | 220 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 574 / 831 |
Version history: | 1 change(s) |
Referenced in: | [show references] |