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

4
LINES

< > BotCompany Repo | #1029080 // leftShiftBitSet

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

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

1  
static BitSet leftShiftBitSet(int n, BitSet bs) {
2  
  if (n == 0 || bs == null) ret bs;
3  
  ret bs.get(n, bs.length());
4  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029080
Snippet name: leftShiftBitSet
Eternal ID of this version: #1029080/1
Text MD5: f2497d401eadf9b8e5bf72edd4e04331
Transpilation MD5: f5af4b5569441bab74f261b7fcc52788
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-19 01:45:18
Source code size: 120 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 153 / 236
Referenced in: [show references]