Serializable
, Comparable<FrequencyThreshold>
, org.refcodes.mixin.PercentAccessor
public enum FrequencyThreshold extends Enum<FrequencyThreshold> implements 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 | Description |
---|---|
THRESHOLD_1 |
|
THRESHOLD_10 |
|
THRESHOLD_20 |
|
THRESHOLD_5 |
Modifier and Type | Method | Description |
---|---|---|
int |
getPercent() |
|
static FrequencyThreshold |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static FrequencyThreshold[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrequencyThreshold THRESHOLD_1
public static final FrequencyThreshold THRESHOLD_5
public static final FrequencyThreshold THRESHOLD_10
public static final FrequencyThreshold THRESHOLD_20
public static FrequencyThreshold[] values()
for (FrequencyThreshold c : FrequencyThreshold.values()) System.out.println(c);
public static FrequencyThreshold valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getPercent()
getPercent
in interface org.refcodes.mixin.PercentAccessor
Copyright © 2018. All rights reserved.