public interface Listener extends Comparable<Listener>
| Modifier and Type | Method and Description |
|---|---|
default int |
compareTo(Listener other) |
default int |
order()
多个监听器时的执行顺序。
|
default int order()
多个监听器时的执行顺序。
值越小越早触发执行。
default int compareTo(Listener other)
compareTo in interface Comparable<Listener>Copyright © 2024. All rights reserved.