
de.janno.evaluator.dice.RandomElements Maven / Gradle / Ivy
package de.janno.evaluator.dice;
import com.google.common.collect.ImmutableList;
import lombok.Value;
import java.util.UUID;
@Value
public class RandomElements {
//we need an id because we don't want to add RollRandomElements from values multiple times
UUID uuid = UUID.randomUUID();
ImmutableList randomElements;
public String toString() {
return randomElements.stream().map(RandomElement::toString).collect(ImmutableList.toImmutableList()).toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy