BinaryIntCalculator

class BinaryIntCalculator(var reg1: Int = 1, var reg2: Int = 2)

Constructors

Link copied to clipboard
fun BinaryIntCalculator(reg1: Int = 1, reg2: Int = 2)

Functions

Link copied to clipboard
fun calculate(binaryOp: (a: Int, b: () -> Int) -> Int): Int

Properties

Link copied to clipboard
var reg1: Int = 1
Link copied to clipboard
var reg2: Int = 2