@InterfaceAudience.Public @InterfaceStability.Stable public abstract class Priority extends Object implements Comparable<Priority>
| Constructor and Description | 
|---|
| Priority() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(Priority other) | 
| boolean | equals(Object obj) | 
| abstract int | getPriority()Get the assigned priority | 
| int | hashCode() | 
| static Priority | newInstance(int p) | 
| abstract void | setPriority(int priority)Set the assigned priority | 
| String | toString() | 
public static final Priority UNDEFINED
@InterfaceAudience.Public @InterfaceStability.Stable public static Priority newInstance(int p)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getPriority()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setPriority(int priority)
priority - the assigned prioritypublic int compareTo(Priority other)
compareTo in interface Comparable<Priority>Copyright © 2023 Apache Software Foundation. All rights reserved.