svoid gazelle_sortChildren(GazelleTree tree) { if (tree == null) ret; gazelle_sortChildren(tree.children); } svoid gazelle_sortChildren(L<GazelleTree> children) { if (children != null) sortByCalculatedFieldDesc(children, func(GazelleTree c) -> int { ai_goodBadToInt(c.prediction) }); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021734 |
Snippet name: | gazelle_sortChildren |
Eternal ID of this version: | #1021734/3 |
Text MD5: | 96c6321d80ac68ccf33ed76c0b04d4ad |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-25 12:49:20 |
Source code size: | 304 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 265 / 317 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |