Package com.foxinmy.weixin4j.mp.type
Enum DatacuteCountIntervalType
- java.lang.Object
-
- java.lang.Enum<DatacuteCountIntervalType>
-
- com.foxinmy.weixin4j.mp.type.DatacuteCountIntervalType
-
- All Implemented Interfaces:
Serializable
,Comparable<DatacuteCountIntervalType>
public enum DatacuteCountIntervalType extends Enum<DatacuteCountIntervalType>
消息量分布的区间- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MORE_THAN_TEN
10次以上ONE2FIVE
1-5SIX2TEN
6-10ZERO
0
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DatacuteCountIntervalType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DatacuteCountIntervalType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ZERO
public static final DatacuteCountIntervalType ZERO
0
-
ONE2FIVE
public static final DatacuteCountIntervalType ONE2FIVE
1-5
-
SIX2TEN
public static final DatacuteCountIntervalType SIX2TEN
6-10
-
MORE_THAN_TEN
public static final DatacuteCountIntervalType MORE_THAN_TEN
10次以上
-
-
Method Detail
-
values
public static DatacuteCountIntervalType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DatacuteCountIntervalType c : DatacuteCountIntervalType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatacuteCountIntervalType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-