ImmutableBox

abstract class ImmutableBox[V] extends Box[V]
class Box[V]
trait (V, V) => V
class Object
trait Matchable
class Any

Value members

Concrete methods

def isImmutable: Boolean

Inherited methods

def apply(v1: V, v2: V): V
Inherited from:
Function2
@unspecialized
def curried: V => V => V
Inherited from:
Function2
def delayed(delay: Int): Box[V]

Returns a delayed version of the box. It is equivalent to applying cascade to the right box.

Returns a delayed version of the box. It is equivalent to applying cascade to the right box.

Inherited from:
Box
def isIdempotent: Boolean

It returns true if the box is guaranteed to be idempotent, i.e., if x box y = (x box y) box y. This may be used for optimization purposes.

It returns true if the box is guaranteed to be idempotent, i.e., if x box y = (x box y) box y. This may be used for optimization purposes.

Inherited from:
Box
def isRight: Boolean

It returns true if this is guaranteed to be the right box (i.e., the one which always returns the second component). This may be used for optimization purposes.

It returns true if this is guaranteed to be the right box (i.e., the one which always returns the second component). This may be used for optimization purposes.

Inherited from:
Box
override def toString(): String
Definition Classes
Function2 -> Any
Inherited from:
Function2
@unspecialized
def tupled: (V, V) => V
Inherited from:
Function2