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

7
LINES

< > BotCompany Repo | #1015439 // bwImageSizeComparator

JavaX fragment (include)

1  
static Comparator<BWImage> bwImageSizeComparator() {
2  
  ret new Comparator<BWImage>() {
3  
    public int compare(BWImage a, BWImage b) {
4  
      ret stdcmp(bwImagePixels(a), bwImagePixels(b));
5  
    }
6  
  };
7  
}

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: #1015439
Snippet name: bwImageSizeComparator
Eternal ID of this version: #1015439/1
Text MD5: 25200c9fcede4cdb5b8d6124e04eee78
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-14 00:44:07
Source code size: 206 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 351 / 364
Referenced in: [show references]