MCPcopy 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

getMethod · 0.95
setMethod · 0.95
clearMethod · 0.95
nextBitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected