return equalArrays(getWeights(), obj.getWeights());
return Utils.equalArrays(getWeights(), obj.getWeights());
    public boolean equals(SIRSplitter obj) {	if (obj.type!=SIRSplitType.WEIGHTED_RR || 	        type!=SIRSplitType.WEIGHTED_RR) {	    return type==obj.type;	} else {	    return equalArrays(getWeights(), obj.getWeights());	}    }