All Downloads are FREE. Search and download functionalities are using the official Maven repository.

money.rave.common.backend.expression.operator.binary.NotEqual.kt Maven / Gradle / Ivy

package money.rave.common.backend.expression

import money.rave.common.backend.expression.EvaluationContext
import money.rave.common.backend.expression.Expression
import java.math.BigDecimal

class NotEqual(
    left: Expression,
    right: Expression,
) : BinaryOperator(left, right) {

    override fun evaluate(context: EvaluationContext, candleIndex: Int): Boolean = left.evaluate(context, candleIndex) != right.evaluate(context, candleIndex)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy