https://kotlinlang.org logo
#announcements
Title
# announcements
e

ean5533

07/01/2016, 8:49 PM
Nice, this works:
Copy code
class SpecialCollection<T> private constructor (private val collection: Collection<T>): Collection<T> by collection {
    constructor() : this(emptyList())
}
👍 1