package util.future import java.util.concurrent.Future interface FutureMath { fun add(a: Int, b: Int): Future } class FutureMathImpl : FutureMath { override fun add(a: Int, b: Int): Future { return LatchFuture { a + b } } }