Here you can find the source of unSetBit(int integer, int bit)
static public int unSetBit(int integer, int bit)
//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 }