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)

static L<GazelleTree> gazelle_searchTreeUpwards_all(F1<GazelleTree, Bool> pred, GazelleTree tree) {
  if (tree == null) null;
  new L<GazelleTree> out;
  while ((tree = gazelle_searchTreeUpwards(pred, tree)) != null)
    out.add(tree);
  ret out;
}

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: 223 / 231
Referenced in: [show references]