Libraryless. Click here for Pure Java version (2774L/16K).
1 | static <A, B> bool isSortedListByCalculatedField(Cl<A> l, IF1<A, B> f) { |
2 | ret isSortedListByComparator(l, (a, b) -> cmp(f.get(a), f.get(b))); |
3 | } |
4 | |
5 | static <A, B> bool lambdaMapLike isSortedListByCalculatedField(IF1<A, B> f, Cl<A> l) { |
6 | ret isSortedListByCalculatedField(l, f); |
7 | } |
Began life as a copy of #1031061
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031062 |
Snippet name: | isSortedListByCalculatedField |
Eternal ID of this version: | #1031062/5 |
Text MD5: | e1ca61ca6ca6f63c41f7d9a3fee8a14d |
Transpilation MD5: | 0604d098a78d2d2b4806b1137c49e150 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-26 17:17:26 |
Source code size: | 283 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 207 / 271 |
Version history: | 4 change(s) |
Referenced in: | [show references] |