# Uses of Enum Class
org.apache.datasketches.frequencies.ErrorType

Packages that use ErrorType
Package
Description
org.apache.datasketches.frequencies
This package contains the implementations of the paper https://arxiv.org/abs/1705.07001.

## Uses of ErrorType in org.apache.datasketches.frequencies

Subclasses with type arguments of type ErrorType in org.apache.datasketches.frequencies
Modifier and Type
Class
Description
`enum`
`ErrorType`
Specifies one of two types of error regions of the statistical classification Confusion Matrix that can be excluded from a returned sample of Frequent Items.
Methods in org.apache.datasketches.frequencies that return ErrorType
Modifier and Type
Method
Description
`static ErrorType`
ErrorType.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static ErrorType[]`
ErrorType.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.
Methods in org.apache.datasketches.frequencies with parameters of type ErrorType
Modifier and Type
Method
Description
`FrequentItemsSketch.Row<T>[]`
FrequentItemsSketch.`getFrequentItems(long threshold, ErrorType errorType)`
Returns an array of Rows that include frequent items, estimates, upper and lower bounds given a threshold and an ErrorCondition.
`FrequentItemsSketch.Row<T>[]`
FrequentItemsSketch.`getFrequentItems(ErrorType errorType)`
Returns an array of Rows that include frequent items, estimates, upper and lower bounds given an ErrorCondition and the default threshold.
`FrequentLongsSketch.Row[]`
FrequentLongsSketch.`getFrequentItems(long threshold, ErrorType errorType)`
Returns an array of Rows that include frequent items, estimates, upper and lower bounds given a threshold and an ErrorCondition.
`FrequentLongsSketch.Row[]`
FrequentLongsSketch.`getFrequentItems(ErrorType errorType)`
Returns an array of Rows that include frequent items, estimates, upper and lower bounds given an ErrorCondition and the default threshold.