private static long bit(int bitIndex) {
    return 1L << (bitIndex & BIT_INDEX_MASK);
  }
Given a bit index, return a unit that masks that bit in its unit.
geode-core/src/main/java/org/apache/geode/internal/UniqueIdGenerator.java