boolean function ( Object arg0 , Object arg1 ) { if ( arg0 == null || arg1 == null ) { return false ; } if ( ( isComparable ( arg0 ) && isComparable ( arg1 ) ) && ( arg0 . getClass ( ) . isAssignableFrom ( arg1 . getClass ( ) ) || arg1 . getClass ( ) . isAssignableFrom ( arg0 . getClass ( ) ) ) ) { return true ; } return false ; }
determines is two objects are comparable to each other , in that they implement comparable and are of the same type . if either object is null , returns false . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isComparable concode_elem_sep T invokeMethod