AcceptanceRule

fun interface AcceptanceRule<T>

Acceptance rule either says it accepts an object or delegates it to some other rule returning null

Inheritors

Functions

Link copied to clipboard
abstract fun accepts(obj: T): Boolean?