MCPcopy Create free account
hub / github.com/ReadyTalk/avian / getTrueMask

Method getTrueMask

classpath/java/util/BitSet.java:35–38  ·  view source on GitHub ↗
(int fromIndex, int toIndex)

Source from the content-addressed store, hash-verified

33 }
34
35 private static long getTrueMask(int fromIndex, int toIndex) {
36 int currentRange = toIndex - fromIndex;
37 return (MASK >>> (BITS_PER_LONG - currentRange)) << (fromIndex % BITS_PER_LONG);
38 }
39
40 public BitSet(int bitLength) {
41 if (bitLength % BITS_PER_LONG == 0) {

Callers 1

nextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected