Op

sealed abstract
class Op
Companion
object
class Object
trait Matchable
class Any
class Arrayload
class As
class Bin
class Box
class Call
class Comp
class Conv
class Copy
class Dynmethod
class Elem
class Extract
class Field
class Fieldload
class Insert
class Is
class Load
class Method
class Module
class Sizeof
class Store
class Unbox
class Var
class Varload
class Varstore
Product

Value members

Concrete methods

final
def isCommutative: Boolean
final
def isIdempotent: Boolean

Op is idempotent if re-evaluation of the operation with the same arguments is going to produce the same results, without any extra side effects as long as previous evaluation did not throw.

Op is idempotent if re-evaluation of the operation with the same arguments is going to produce the same results, without any extra side effects as long as previous evaluation did not throw.

final
def isPure: Boolean

Op is pure if it doesn't have any side-effects, including:

Op is pure if it doesn't have any side-effects, including:

  • doesn't throw exceptions * doesn't perform any unsafe reads or writes from the memory * doesn't call foreign code

Recomputing pure op will always yield to the same result.

final
def resty: Type
final
def show: String

Concrete fields

lazy override
val hashCode: Int