mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
50 lines
1.9 KiB
Kotlin
Vendored
50 lines
1.9 KiB
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
open class A<T> : Collection<T> {
|
|
override val size: Int
|
|
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
|
|
|
override fun contains(element: T): Boolean {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
|
|
override fun containsAll(elements: Collection<T>): Boolean {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
|
|
override fun isEmpty(): Boolean {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
|
|
override fun iterator(): Iterator<T> {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|
|
|
|
open class B<E> : A<E>()
|
|
class C<F> : B<F>(), List<F> {
|
|
override fun get(index: Int): F {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
|
|
override fun indexOf(element: F): Int {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
|
|
override fun lastIndexOf(element: F): Int {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
|
|
override fun listIterator(): ListIterator<F> {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
|
|
override fun listIterator(index: Int): ListIterator<F> {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
|
|
override fun subList(fromIndex: Int, toIndex: Int): List<F> {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|