Package com.io7m.jaffirm.core
Interface ContractConditionType<T>
- Type Parameters:
T- The type of input values
- All Known Implementing Classes:
ContractCondition
@Immutable
public interface ContractConditionType<T>
An individual predicate in a contract.
-
Method Summary
-
Method Details
-
predicate
- Returns:
- A predicate that must evaluate to
truefor the contract to hold
-
describer
- Returns:
- A function that returns a textual description of the predicate
-