public interface Order extends Comparable<Order>
| Modifier and Type | Method and Description |
|---|---|
default int |
compareTo(Order o)
使用order进行比较
|
default int |
order()
优先级
越小优先级越高
|
default int order()
default int compareTo(Order o)
compareTo in interface Comparable<Order>o - compareToCopyright © 2020. All rights reserved.