1 | static Rect parseRect(S s) { |
2 | L<S> tok = javaTokC(s); |
3 | assertEquals(7, l(tok)); |
4 | ret new Rect(parseInt(tok.get(0)), parseInt(tok.get(2)), |
5 | parseInt(tok.get(4)), parseInt(tok.get(6))); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005985 |
Snippet name: | parseRect - parse output of Rect.toString |
Eternal ID of this version: | #1005985/1 |
Text MD5: | db13b20e91c204b104209b74a787e03c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-13 21:53:58 |
Source code size: | 196 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 611 / 621 |
Referenced in: | [show references] |