public void setSize(final int size) {
        CommonHelper.assertTrue(size > 0, "size must be greater than 0");
        this.size = size;
    }
<p>Setter for the field <code>size</code>.</p>

@param size a int
pac4j-core/src/main/java/org/pac4j/core/util/generator/RandomValueGenerator.java