Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReadyTalk/avian
/ bitPosition
Method
bitPosition
classpath/java/util/BitSet.java:31–33 ·
view source on GitHub ↗
(int index)
Source
from the content-addressed store, hash-verified
29
}
30
31
private
static
long bitPosition(
int
index) {
32
return
1L << (index % BITS_PER_LONG);
33
}
34
35
private
static
long getTrueMask(
int
fromIndex,
int
toIndex) {
36
int
currentRange = toIndex - fromIndex;
Callers
4
get
Method · 0.95
set
Method · 0.95
clear
Method · 0.95
nextBit
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected