@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((codesource == null) ? 0 : codesource.hashCode()); return result; }
public int hashCode() { int hashCode = 0; if( cs != null ) hashCode = cs.hashCode(); int length = (this.principals == null ? 0 : this.principals.length); for(int p = 0; p < length; p ++) { hashCode += this.principals[p].hashCode(); } return hashCode; }
public int hashCode() { int hashCode = 0; if( cs != null ) hashCode = cs.hashCode(); int length = (this.principals == null ? 0 : this.principals.length); for(int p = 0; p < length; p ++) { hashCode += this.principals[p].hashCode(); } return hashCode; }