static MultiMap<String, Rectangle> irParseHashes(S result) {
MultiMap<S, Rectangle> hashToRect = new MultiMap;
Matcher matcher = Pattern.compile("(\\d+, *\\d+, *\\d+, *\\d+) -> ([0-9a-zA-Z\\.]+)").matcher(result);
while (matcher.find()) {
Rectangle r = RectUtil.stringToRect(matcher.group(1));
String hash = matcher.group(2);
hashToRect.put(hash, r);
}
ret hashToRect;
}download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003961 |
| Snippet name: | irParseHashes |
| Eternal ID of this version: | #1003961/1 |
| Text MD5: | 5dcdb8220150ed448a4cfeb66d573c09 |
| Author: | stefan |
| Category: | javax / desktop recognition |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-07-31 18:37:31 |
| Source code size: | 401 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1031 / 1024 |
| Referenced in: | [show references] |