https://kotlinlang.org logo
#random
Title
j

jkbbwr

01/22/2018, 10:50 PM
Is it just me that thinks
Copy code
class Agent : Runnable {
    private val transport: Transport
    private val storage: Storage
    private val ui: UserInterface

    constructor(transport: Transport, storage: Storage, ui: UserInterface) {
        this.transport = transport
        this.storage = storage
        this.ui = ui
    }