Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1021573 // gazelle_searchTreeUpwards_all

JavaX fragment (include)

1  
static L<GazelleTree> gazelle_searchTreeUpwards_all(F1<GazelleTree, Bool> pred, GazelleTree tree) {
2  
  if (tree == null) null;
3  
  new L<GazelleTree> out;
4  
  while ((tree = gazelle_searchTreeUpwards(pred, tree)) != null)
5  
    out.add(tree);
6  
  ret out;
7  
}

Author comment

Began life as a copy of #1021564

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: #1021573
Snippet name: gazelle_searchTreeUpwards_all
Eternal ID of this version: #1021573/1
Text MD5: 408aea0d04ba707dfaa53db4f101a227
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-18 16:37:21
Source code size: 254 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 295 / 302
Referenced in: [show references]