protected boolean isEqualValue ( Object value1 , Object value2 ) { return ( value1 == value2 || value1 . equals ( value2 ) ) ; }
Compares two values in external form to see if they are equal . This implementation uses the equals method and assumes neither value is null . Subclasses can override this to match differently .