001package io.prometheus.metrics.exporter.opentelemetry.otelmodel;
002
003import io.opentelemetry.sdk.metrics.data.ValueAtQuantile;
004
005public class ValueAtQuantileImpl implements ValueAtQuantile {
006
007  private final double quantile;
008  private final double value;
009
010  public ValueAtQuantileImpl(double quantile, double value) {
011    this.quantile = quantile;
012    this.value = value;
013  }
014
015  @Override
016  public double getQuantile() {
017    return quantile;
018  }
019
020  @Override
021  public double getValue() {
022    return value;
023  }
024}