public class NAAQS
extends java.lang.Object
Note: For simplicity, the value ranges and AQI ranges do not correspond exactly to the official standard. Specifically:
| Constructor and Description | 
|---|
NAAQS()  | 
| Modifier and Type | Method and Description | 
|---|---|
static int[] | 
getAQIRanges()
Get the ranges associated with the AQI. 
 | 
static java.awt.Color[] | 
getColors()
Get the Color objects associated with the AQI ranges. 
 | 
static java.lang.String[] | 
getDescriptions()
Get the textual descriptions of the AQI ranges. 
 | 
static java.lang.String[] | 
getPollutants()
Get the short names of the pollutants. 
 | 
static double[] | 
getValueRanges(java.lang.String pollutant)
Get the ranges of values that correspond to the different indexes. 
 | 
public static int[] getAQIRanges()
The int[] returned by this method conforms to the double[] returned by getValueRanges().
The array returned defines the following seven half-open intervals:
public static java.awt.Color[] getColors()
The Color[] returned by this method is conformal with the String[] returned by getDescriptions().
public static java.lang.String[] getDescriptions()
The String[] returned by this method is conformal with the Color[] returned by getColors().
public static java.lang.String[] getPollutants()
public static double[] getValueRanges(java.lang.String pollutant)
The double[] returned by this method conforms to the int[] returned by getAQIRanges().
The array returned defines the following seven half-open intervals:
QuAQI