Enum Class的使用
tech.mhuang.pacebox.core.observer.ObserverType
使用ObserverType的程序包
-
tech.mhuang.pacebox.core.observer中ObserverType的使用
修饰符和类型方法说明AbstractObServer.getType()BaseObServer.getType()获取观察者的通知类型.static ObserverTypeReturns the enum constant of this class with the specified name.static ObserverType[]ObserverType.values()Returns an array containing the constants of this enum class, in the order they are declared.