Negatable

interface Negatable<T : Condition>(source)

Represents an entity that can be negated to form its logical opposite.

Classes implementing this interface provide the ability to transform a condition into its negated equivalent.

Type Parameters

T

The specific type of condition that this interface operates on.

Inheritors

Functions

Link copied to clipboard
abstract fun negate(): T

Returns a new condition that represents the negation of the current condition.