Package ai.platon.pulsar.common
Enum Priority13
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum Priority13 extends Enum<Priority13>
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPriority13.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integervalueprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<Priority13>entries
-
Method Summary
Modifier and Type Method Description final Priority13valueOf(String value)Returns the enum constant of this type with the specified name. final Array<Priority13>values()Returns an array containing the constants of this enum type, in the order they're declared. final IntegergetValue()final EnumEntries<Priority13>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 Priority13 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<Priority13> 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<Priority13> 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
-
-
-
-