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).

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

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: 61 / 95
Referenced in: [show references]