public static final String longToBinString(long a){
  StringBuffer sb=new StringBuffer(64);
  for (int i=0; i < 64; i++)   sb.append(BIT[(int)(a >>> (63 - i)) & 0x1]);
  return sb.toString();
}

public static final String longToBinString ( long a ) { StringBuffer sb = new StringBuffer ( 64 ) ; for ( int i = 0 ; i < 64 ; i ++ ) sb . append ( BIT [ ( int ) ( a > > > ( 63 - i ) ) & 0x1 ] ) ; return sb . toString ( ) ; }
convert a long to a string of binary digits .
