Fixed error

Found error - had failed to change one of the classnames from my test version to xmage version.
Also made nextWidth private. (No need for it to be public.)
This commit is contained in:
tiera3 2024-10-02 13:27:54 +10:00 committed by GitHub
parent 82fc636d18
commit 53c3ec7dad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ public class Rotater<T> {
}
// for striped collation
public Main(int sLen, String... items) {
public Rotater(int sLen, String... items) {
// should there be an error check?
// assert ( items.size() % sLen ) == 0;
this.stripeLen = sLen;
@ -50,7 +50,7 @@ public class Rotater<T> {
// choose a stripe width between 2 & 5 inclusive
// ToDo when data available: enable different widths to have different likelihoods
public int nextWidth() {
private int nextWidth() {
return 2+ RandomUtil.nextInt(4);
}