Class PowerOf2.IntPower

  • Enclosing class:
    PowerOf2

    public static final class PowerOf2.IntPower
    extends PowerOf2
    • Field Detail

      • value

        public final int value
      • myModuloMask

        private final int myModuloMask
    • Constructor Detail

      • IntPower

        IntPower​(int exp)
    • Method Detail

      • divide

        public int divide​(int dividend)
      • getModuloMask

        public int getModuloMask()
      • modulo

        public int modulo​(int dividend)