com.firefly.example.kotlin.coffee.store.router.RouterInstaller.kt Maven / Gradle / Ivy
package com.firefly.example.kotlin.coffee.store.router
/**
* @author Pengtao Qiu
*/
interface RouterInstaller : Comparable {
fun install()
fun order() = Integer.MAX_VALUE
override fun compareTo(other: RouterInstaller): Int = order().compareTo(other.order())
}