1 | svoid gazelle_sortChildren(GazelleTree tree) { |
2 | if (tree == null) ret; |
3 | gazelle_sortChildren(tree.children); |
4 | } |
5 | |
6 | svoid gazelle_sortChildren(L<GazelleTree> children) { |
7 | if (children != null) |
8 | sortByCalculatedFieldDesc(children, func(GazelleTree c) -> int { ai_goodBadToInt(c.prediction) }); |
9 | } |
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: | 264 / 316 |
Version history: | 2 change(s) |
Referenced in: | [show references] |