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

15
LINES

< > BotCompany Repo | #1015124 // thingsOnScreenMap2

JavaX fragment (include)

static Set<S> thingsOnScreenMap2_md5s;

static MultiMap<S, Rect> thingsOnScreenMap2() {
  L<RectAndMD5> segments = segmentedScreenFromCacheFile();
  if (segments == null) null;
  new MultiMap<S, Rect> map;
  SS comments = thingsOnScreenDefinitions();
  new HashSet<S> md5s;
  for (RectAndMD5 r : segments) {
    md5s.add(r.md5);
    putIfKeyNempty(map, comments.get(r.md5), r.r);
  }
  thingsOnScreenMap2_md5s = md5s;
  ret map;
}

Author comment

Began life as a copy of #1010722

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: #1015124
Snippet name: thingsOnScreenMap2
Eternal ID of this version: #1015124/6
Text MD5: e18e143700b603d6a01d585f7117367c
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-08 15:10:52
Source code size: 444 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 287 / 313
Version history: 5 change(s)
Referenced in: [show references]