Android Int Bit Set clearBit(int number, int count)

Here you can find the source of clearBit(int number, int count)

Description

clear Bit

License

Open Source License

Declaration

public static int clearBit(int number, int count) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static int clearBit(int number, int count) {
        return number | 0x01 << count;
    }//from ww  w  .ja  v  a 2s.  com
}

Related

  1. setBit(int number, int count)
  2. setBit(int number, int count, boolean value)
  3. isBitSet(int b, int bit)
  4. isBitSet(int number, int count)
  5. isPowerOfTwo(int v)
  6. contains(int bit, int... options)
  7. decode(int bits)
  8. nextHighestPowerOfTwo(int v)
  9. toggleBit(int number, int count)