Libraryless. Click here for Pure Java version (14800L/95K).
static Cl<Concept.Ref> scanConceptForRefs(Concept c) { Set<Concept.Ref> refs = new HashSet; if (c != null) for (O o : values(objectToMap(c))) { if (o cast Concept.Ref) refs.add(o); else if (o cast Concept.RefL) addAll(refs, o.l); } ret refs; }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030876 |
Snippet name: | scanConceptForRefs |
Eternal ID of this version: | #1030876/3 |
Text MD5: | b7b8ef7a237426004d55c653719aee10 |
Transpilation MD5: | f514518347cd7eee464f2e772cec9b70 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-05 16:02:00 |
Source code size: | 280 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 219 / 299 |
Version history: | 2 change(s) |
Referenced in: | [show references] |