Skip to content

core / org.pinelang.core / PineInt

PineInt

class PineInt :PineNumber<Int>,PineExpr<Int>

Constructors

Name Summary
<init> PineInt(value:Int)
PineInt(vararg refs:PineExpr<*>, calculation: () ->Int)

Functions

Name Summary
div fun div(other:PineExpr<*>):PineInt
equals fun equals(other:Any?):Boolean
hashCode fun hashCode():Int
minus fun minus(other:PineExpr<*>):PineInt
plus fun plus(other:PineExpr<*>):PineInt
rem fun rem(other:PineExpr<*>):PineInt
times fun times(other:PineExpr<*>):PineInt
toDouble fun toDouble():PineDouble
toInt fun toInt():PineInt