10 lines
197 B
Kotlin
Vendored
10 lines
197 B
Kotlin
Vendored
interface IFace<T> {
|
|
fun getStatus(arg: T): Boolean
|
|
}
|
|
class Some
|
|
|
|
private fun resolve(): IFace<Some> {
|
|
return object : IFace<Some> {
|
|
override fun getStatus(arg: Some) = true
|
|
}
|
|
} |