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

6
LINES

< > BotCompany Repo | #1029714 // allBackRefs

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (14701L/94K).

static L<Concept> allBackRefs(Concept c) {
  new IdentityHashMap<Concept, Bool> l;
  if (c != null && c.backRefs != null) for (Concept.Ref r : cloneList(c.backRefs))
    l.put(r.concept(), true);
  ret keysList(l);
}

Author comment

Began life as a copy of #1007228

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1029714
Snippet name: allBackRefs
Eternal ID of this version: #1029714/4
Text MD5: f5b0fbd15c901963fba99ae0fd7d05fc
Transpilation MD5: 367da049f2088ccdc73624b1ec67f136
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-18 22:03:09
Source code size: 221 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 277 / 380
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1029715 - hasBackRefs
#1030745 - allBackRefObjects
#1033932 - countBackRefs