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

6
LINES

< > BotCompany Repo | #1033830 // bitMatrixRowEmpty

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

Libraryless. Click here for Pure Java version (5126L/29K).

1  
sbool bitMatrixRowEmpty(BitMatrix m, int y) {
2  
  int w = m.getWidth();
3  
  for x to w:
4  
    if (m.get(x, y)) false;
5  
  true;
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033830
Snippet name: bitMatrixRowEmpty
Eternal ID of this version: #1033830/1
Text MD5: fadad2c120c904feef7a8406abe2240b
Transpilation MD5: 9314215e57a6487a7fa80950b02af81e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-06 22:29:42
Source code size: 126 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 66 / 101
Referenced in: [show references]