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

8
LINES

< > BotCompany Repo | #1033734 // sameSize

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (4862L) is out of date.

1  
sbool sameSize(WidthAndHeight a, BufferedImage b) {
2  
  ret a != null && b != null && a.getWidth() == b.getWidth()
3  
    && a.getHeight() == b.getHeight();
4  
}
5  
6  
sbool sameSize(BufferedImage b, WidthAndHeight a) {
7  
  ret sameSize(a, b);
8  
}

Author comment

Began life as a copy of #1019149

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033734
Snippet name: sameSize
Eternal ID of this version: #1033734/3
Text MD5: fd032056544f373ea43f2f9617f44afe
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-07 19:18:53
Source code size: 233 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 198 / 242
Version history: 2 change(s)
Referenced in: [show references]