1 | static L<Rectangle> rectsToRectangles(Collection<Rect> l) { |
2 | new L<Rectangle> x; |
3 | for (Rect r : l) x.add(r.getRectangle()); |
4 | ret x; |
5 | } |
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: | #1006552 |
Snippet name: | rectsToRectangles |
Eternal ID of this version: | #1006552/2 |
Text MD5: | 049ddc6513d00e11622e3e9332dffb25 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-13 16:14:12 |
Source code size: | 140 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 520 / 536 |
Version history: | 1 change(s) |
Referenced in: | [show references] |