/** * @see Object#hashCode() * @return the instance's hash code */ public int hashCode() { int h = 37; h = h * 17 + super.hashCode(); h = h * 17 + ( value == null ? 0 : value.hashCode() ); return h; }
/** * @see Object#hashCode() * @return the instance's hash code */ public int hashCode() { int h = 37; h = h*17 + super.hashCode(); h = h*17 + ( dnAttributes ? 1 : 0 ); h = h*17 + matchingRuleId.hashCode(); h = h*17 + value.hashCode(); return h; }
/** * @see Object#hashCode() * @return the instance's hash code */ public int hashCode() { int h = 37; h = h*17 + super.hashCode(); h = h*17 + ( initialPattern != null ? initialPattern.hashCode() : 0 ); if ( anyPattern != null ) { for ( String pattern:anyPattern ) { h = h*17 + pattern.hashCode(); } } h = h*17 + ( finalPattern != null ? finalPattern.hashCode() : 0 ); return h; }