class Samplers {

  public static SamplingResult samplingResult(Decision decision, Attributes attributes) {
    Objects.requireNonNull(attributes, "attributes");
    return attributes.isEmpty()
        ? emptySamplingResult(decision)
        : SamplingResultImpl.create(decision, attributes);
  }

  private  Samplers();

}