Boolean Expression
A boolean expression
Parameters
T
the type of the variable elements. This allows representing BooleanExpression that only contain variables and other that may also contain possibleTypes
Types
And
Link copied to clipboard
data class And<T : Any>(operands: Set<BooleanExpression<T>>) : BooleanExpression<T>
Content copied to clipboard
False
Link copied to clipboard
Not
Link copied to clipboard
data class Not<out T : Any>(operand: BooleanExpression<T>) : BooleanExpression<T>
Content copied to clipboard
Or
Link copied to clipboard
data class Or<T : Any>(operands: Set<BooleanExpression<T>>) : BooleanExpression<T>
Content copied to clipboard
True
Link copied to clipboard
Functions
simplify
Link copied to clipboard
Inheritors
BooleanExpression
Link copied to clipboard
BooleanExpression
Link copied to clipboard
BooleanExpression
Link copied to clipboard
BooleanExpression
Link copied to clipboard
BooleanExpression
Link copied to clipboard
BooleanExpression
Link copied to clipboard
Extensions
and
Link copied to clipboard
fun <T : Any> BooleanExpression<T>.and(vararg other: BooleanExpression<T>): BooleanExpression<T>
Content copied to clipboard
containsPossibleTypes
Link copied to clipboard
evaluate
Link copied to clipboard
fun <T : Any> BooleanExpression<T>.evaluate(block: (T) -> Boolean): Boolean
Content copied to clipboard
fun BooleanExpression<BTerm>.evaluate(variables: Set<String>, typename: String?): Boolean
Content copied to clipboard
fun BooleanExpression<BTerm>.evaluate(variables: Set<String>, typename: String?, adapterContext: AdapterContext, path: List<Any>?): Boolean
Content copied to clipboard
firstElementOfType
Link copied to clipboard
fun <T : Any, U : Any> BooleanExpression<T>.firstElementOfType(type: KClass<U>): U?
Content copied to clipboard
or
Link copied to clipboard
fun <T : Any> BooleanExpression<T>.or(vararg other: BooleanExpression<T>): BooleanExpression<T>
Content copied to clipboard