6 lines
97 B
Kotlin
6 lines
97 B
Kotlin
open class IPriorityQueue<T> {
|
|
fun extract() : T
|
|
fun add(item : T)
|
|
val isEmpty : Boolean
|
|
}
|