I want to check the not null condition in many places ,So which way give the best performance..?
1.Whether if(object !=null){ ... }
if(object !=null){ ... }
2.Whether if(Util.isNotNull(object)){...}
if(Util.isNotNull(object)){...}
Aucun commentaire:
Enregistrer un commentaire