static L<Pair<WebNode>> web_nonEmptyRelations(Web web) { L<Pair<WebNode>> l = new L; for (Pair<WebNode> r : web_relations(web)) if (nempty(web.getRelation(r).labels())) l.add(r); ret l; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1009967 |
| Snippet name: | web_nonEmptyRelations - all relations with at least one label |
| Eternal ID of this version: | #1009967/8 |
| Text MD5: | 0d3e36be06115bce088481b913cb0628 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-11-26 16:16:40 |
| Source code size: | 209 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 755 / 793 |
| Version history: | 7 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1009968 - web_nonRelationNodes - all nodes which are not a relation #1010301 - web_dropEmptyRelations - drop relations with zero labels [changes original] |