All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmMain.it.unibo.tuprolog.solve.channel.PrintStreamChannel.kt Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
package it.unibo.tuprolog.solve.channel

import it.unibo.tuprolog.solve.channel.impl.AbstractOutputChannel
import java.io.PrintStream

class PrintStreamChannel(private val printStream: PrintStream) : AbstractOutputChannel() {
    override fun writeActually(value: T) = printStream.print(value)

    override fun flushActually() = printStream.flush()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy