Plus

case class Plus(a: Expression, b: Expression) extends BinaryOp

Plus operator for addition (a + b).

Value parameters:
a

left hand side expression

b

right hand side expression

trait Serializable
trait Product
trait Equals
class BinaryOp
trait LazyLogging
class Object
trait Matchable
class Any

Value members

Concrete methods

override def unary_-: Expression
Definition Classes

Inherited methods

def *(that: Expression): Expression
Inherited from:
Expression
def +(that: Expression): Expression
Inherited from:
Expression
def -(that: Expression): Expression
Inherited from:
Expression
Inherited from:
Expression
Inherited from:
Expression
Inherited from:
Expression
override def equals(obj: Any): Boolean
Value parameters:
obj

an object to compare

Returns:

true in case this object has identical constant and terms as the obj argument; false otherwise.

Definition Classes
Expression -> Any
Inherited from:
Expression
protected def merge: LongDoubleMap
Inherited from:
BinaryOp
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
override def toString: String
Definition Classes
Expression -> Any
Inherited from:
Expression

Inherited fields

override val constant: Double
Inherited from:
BinaryOp
@transient
lazy protected val logger: Logger
Inherited from:
LazyLogging
override val terms: LongDoubleMap
Inherited from:
BinaryOp