Java Bit Unset unSetBit(int integer, int bit)

Here you can find the source of unSetBit(int integer, int bit)

Description

un Set Bit

License

Open Source License

Declaration

static public int unSetBit(int integer, int bit) 

Method Source Code

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

public class Main {
    static public int unSetBit(int integer, int bit) {
        return (integer & ~(1 << bit));
    }//w  w w  .ja  v  a  2s  . co m
}

Related

  1. UnsetBit(byte _bitset, byte bit)
  2. unsetBit(byte b, int pos)
  3. unsetBit(byte original, int bitToUnSet)
  4. unsetBit(byte[] b, int index)
  5. unsetBit(int f, int i)
  6. unsetBit(int value, int flags)
  7. unsetBit(long flags, long bit)
  8. unsetFlag(final int data, final int flag)
  9. unsetFlag(int bitset, int flag)