1 | static L<S> web_texts(WebNode node) { |
2 | ret node == null ? new L : node.texts(); |
3 | } |
4 | |
5 | static L<S> web_texts(Collection<? extends WebNode> l) { |
6 | L<S> texts = new L(l(l)); |
7 | if (l != null) for (WebNode n : l) |
8 | texts.add(web_text(n)); |
9 | ret texts; |
10 | } |
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: | #1010584 |
Snippet name: | web_texts - get all texts of a single node or first text of a list of nodes |
Eternal ID of this version: | #1010584/7 |
Text MD5: | 16a9f3d1c1fdf5340af7f58b655bf2d2 |
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-23 19:42:43 |
Source code size: | 257 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 610 / 656 |
Version history: | 6 change(s) |
Referenced in: | [show references] |