Quantile (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.metrics2.util, class: Quantile

Package org.apache.hadoop.metrics2.util

# Class Quantile

java.lang.Object
org.apache.hadoop.metrics2.util.Quantile

All Implemented Interfaces:
  `Comparable<Quantile>`

@Private public class Quantile extends Object implements Comparable<Quantile>
Specifies a quantile (with error bounds) to be watched by a `SampleQuantiles` object.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final double`
  `error`
  `final double`
  `quantile`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Quantile(double quantile, double error)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(Quantile other)`
  `boolean`
  `equals(Object aThat)`
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### quantile

    public final double quantile

  - ### error

    public final double error

- ## Constructor Details

  - ### Quantile

    public Quantile(double quantile, double error)

- ## Method Details

  - ### equals

    public boolean equals(Object aThat)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### compareTo

    public int compareTo(Quantile other)
    Specified by:
      `compareTo` in interface `Comparable<Quantile>`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`