/* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License 2.0.
 * This product includes software developed at Datadog (https://www.datadoghq.com/).
 * Copyright 2021 Datadog, Inc.
 */

package com.datadoghq.sketch.ddsketch.footprint;

@FunctionalInterface
public interface Distribution {
  double nextValue();

  default Distribution composeWith(Distribution other) {
    return new CompositeDistribution(this, other);
  }
}
