public interface Ordered
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
HIGHEST_PRECEDENCE
Useful constant for the highest precedence value.
|
static int |
LOWEST_PRECEDENCE
Useful constant for the lowest precedence value.
|
static final int HIGHEST_PRECEDENCE
Integer.MIN_VALUE,
常量字段值static final int LOWEST_PRECEDENCE
Integer.MAX_VALUE,
常量字段值int getOrder()
Higher values are interpreted as lower priority. As a consequence,
the object with the lowest value has the highest priority (somewhat
analogous to Servlet load-on-startup values).
Same order values will result in arbitrary sort positions for the affected objects.
HIGHEST_PRECEDENCE,
LOWEST_PRECEDENCECopyright © 2021. All rights reserved.