boolean function ( Object arg0 , Object arg1 ) { if ( arg0 == arg1 ) { return true ; } else if ( arg0 == null || arg1 == null ) { return false ; } else { return arg0 . equals ( arg1 ) ; } }
this is a utility method that compares two objects when one or both of the objects might be null the result of this method is determined as follows : if o1 and o2 are the same object according to the == operator , return true . otherwise , if either o1 or o2 is null , return false . otherwise , return o1.equals o2 . this method produces the exact logically inverted result as the #aredifferent object , object method . for array types , one of the equals methods in java.util.arrays should be used instead of this method.note that arrays with more than one dimension will require some custom code in order to implement equals properly . concode_field_sep ListIterator _i concode_field_sep Object next concode_elem_sep boolean areBooleansDifferent concode_elem_sep String getTimeFromLong concode_elem_sep boolean hasNonNullElement concode_elem_sep boolean hasNext concode_elem_sep String concat concode_elem_sep String concat concode_elem_sep void remove concode_elem_sep boolean hasStringChanged concode_elem_sep boolean areBooleansEqual concode_elem_sep String nullifyIfEmpty concode_elem_sep List iteratorAsList concode_elem_sep boolean areDifferent concode_elem_sep String nullifyingToString concode_elem_sep boolean hasLength concode_elem_sep Iterator reverseListIterator