Here you can find the source of clearBit(long n, int i)
public static long clearBit(long n, int i)
//package com.java2s; //License from project: Apache License public class Main { public static long clearBit(long n, int i) { return n & ~(1L << i); }/*from w ww.ja va 2s . c o m*/ }