/** * Constructs a weighted round-robin joiner with the given parent and weights. Here the number of * weights must match the number of weights in the splitjoin. */ public static SIRJoiner createWeightedRR(SIRContainer parent, JExpression[] weights) { return new SIRJoiner(parent, SIRJoinType.WEIGHTED_RR, weights, Utils.isUniform(weights)); }