Revert 'isEmpty' transformation

This commit is contained in:
Denis Zharkov
2015-10-13 20:49:31 +03:00
committed by Mikhail Glukhikh
parent 17c906658d
commit 6322198a11
71 changed files with 127 additions and 156 deletions
@@ -1,6 +1,6 @@
class MyCollection<T>: Collection<T> {
override val size: Int get() = 0
override val isEmpty: Boolean get() = true
override fun isEmpty(): Boolean = true
override fun contains(o: T): Boolean = false
override fun iterator(): Iterator<T> = throw UnsupportedOperationException()
override fun containsAll(c: Collection<T>): Boolean = false