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

7
LINES

< > BotCompany Repo | #1019245 // allImageSizes

JavaX fragment (include)

1  
static Set<Pt> allImageSizes(L<? extends MakesBufferedImage> l) {
2  
  new Set<Pt> set;
3  
  for (MakesBufferedImage img : unnull(l))
4  
    if (img != null)
5  
      set.add(pt(img.getWidth(), img.getHeight()));
6  
  ret set;
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019245
Snippet name: allImageSizes
Eternal ID of this version: #1019245/1
Text MD5: 2977013ebcf4ec4059826ef793b2bbc8
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-28 15:49:27
Source code size: 219 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 294 / 328
Referenced in: [show references]