- All Implemented Interfaces:
Serializable
,Comparable<FrequencyThreshold>
,Constable
,org.refcodes.mixin.PercentAccessor
public enum FrequencyThreshold
extends Enum<FrequencyThreshold>
implements org.refcodes.mixin.PercentAccessor
The Enum FrequencyThreshold.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface org.refcodes.mixin.PercentAccessor
org.refcodes.mixin.PercentAccessor.PercentBuilder<B extends org.refcodes.mixin.PercentAccessor.PercentBuilder<B>>, org.refcodes.mixin.PercentAccessor.PercentMutator, org.refcodes.mixin.PercentAccessor.PercentProperty
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
static FrequencyThreshold
Returns the enum constant of this class with the specified name.static FrequencyThreshold[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
THRESHOLD_1
-
THRESHOLD_5
-
THRESHOLD_10
-
THRESHOLD_20
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getPercent
public int getPercent()- Specified by:
getPercent
in interfaceorg.refcodes.mixin.PercentAccessor
-