1 | static Pt parseFirstPoint(S s) {
|
2 | L<S> tok = javaTok(s); |
3 | int i = jfind(tok, "<int>,<int>"); |
4 | if (i < 0) null; |
5 | ret new Pt(parseInt(tok.get(i)), parseInt(tok.get(i+4))); |
6 | } |
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: | #1006618 |
| Snippet name: | parseFirstPoint - find "x, y" in string |
| Eternal ID of this version: | #1006618/1 |
| Text MD5: | 1836a147ebb42d756b67e9317d3b09eb |
| Author: | stefan |
| Category: | javax / parsing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-01-21 23:46:54 |
| Source code size: | 180 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 780 / 817 |
| Referenced in: | [show references] |