Long a=16791l;
String b="16791";
if(a.equals(b)){
System.out.println("===============");
}else{
System.out.println("ccccccccccc");
}
if(a==Long.valueOf(b)){
System.out.println("sssss");
}else{
System.out.println("111111111111");
}
if(a.intValue()==Integer.parseInt(b)){
System.out.println("22222222222");
}