SimplifiedCondition

interface SimplifiedCondition<T>

Interface objects that can be simplified

Functions

and
Link copied to clipboard
abstract fun and(conditions: SimplifiedCondition<T>): SimplifiedCondition<T>
Creates a concatenating operand based on AND
getAllCandidates
Link copied to clipboard
abstract fun getAllCandidates(): List<SimplifiedCondition<T>>
Returns all base condition statements
isSatisfiedByValue
Link copied to clipboard
abstract fun isSatisfiedByValue(): Boolean
Returns the value set with setValue depends on conditions
not
Link copied to clipboard
abstract fun not(): SimplifiedCondition<T>
Creates an inverting operand
or
Link copied to clipboard
abstract fun or(conditions: SimplifiedCondition<T>): SimplifiedCondition<T>
Creates a concatenating operand based on OR
setValue
Link copied to clipboard
abstract fun setValue(condition: SimplifiedCondition<T>, value: Boolean)
Sets the value that isSatisfiedByValue will return to the base operands

Inheritors

AbstractCondition
Link copied to clipboard