public static Long toLong(boolean b){
  return Long.valueOf(toLongValue(b));
}

public static Long toLong ( boolean b ) { return Long . valueOf ( toLongValue ( b ) ) ; }
cast a boolean value to a long object ( reference type )
