Package ai.platon.pulsar.common
Enum Priority5
-
-
Method Summary
Modifier and Type Method Description final Priority5valueOf(String value)Returns the enum constant of this type with the specified name. final Array<Priority5>values()Returns an array containing the constants of this enum type, in the order they're declared. final IntegergetValue()final EnumEntries<Priority5>getEntries()Smaller value, higher priority, keep consistent with PriorityQueueNotice: can not use Int.MIN_VALUE as the highest priority value nor Int. -
-
Method Detail
-
valueOf
final Priority5 valueOf(String value)
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.)
-
values
final Array<Priority5> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<Priority5> getEntries()
Smaller value, higher priority, keep consistent with PriorityQueue
Notice: can not use Int.MIN_VALUE as the highest priority value nor Int.MAX_VALUE as the lowest, choose another one
-
-
-
-