Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1005985 // parseRect - parse output of Rect.toString

JavaX fragment (include)

static Rect parseRect(S s) {
  L<S> tok = javaTokC(s);
  assertEquals(7, l(tok));
  ret new Rect(parseInt(tok.get(0)), parseInt(tok.get(2)),
    parseInt(tok.get(4)), parseInt(tok.get(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: 606 / 614
Referenced in: [show references]