public Rule times ( final int nrCycles ) { Preconditions . checkArgument ( nrCycles >= 0 , "illegal repetition number specified (" + nrCycles + "), must be 0 or greater" ) ; return range ( Range . singleton ( nrCycles ) ) ; }
Return a rule with an exact number of cycles to run