Package com.io7m.jaffirm.core
Core types and functions.
-
Interface Summary Interface Description ContractConditionType<T> An individual predicate in a contract.ContractDoubleConditionType Adoublespecialized version of theContractConditionTypetype.ContractIntConditionType Anintspecialized version of theContractConditionTypetype.ContractLongConditionType Alongspecialized version of theContractConditionTypetype. -
Class Summary Class Description ContractCondition<T> An individual predicate in a contract.ContractCondition.Builder<T> Builds instances of typeContractCondition.ContractDoubleCondition Adoublespecialized version of theContractConditionTypetype.ContractDoubleCondition.Builder Builds instances of typeContractDoubleCondition.ContractIntCondition Anintspecialized version of theContractConditionTypetype.ContractIntCondition.Builder Builds instances of typeContractIntCondition.ContractLongCondition Alongspecialized version of theContractConditionTypetype.ContractLongCondition.Builder Builds instances of typeContractLongCondition.Contracts Functions to create contracts and conditions.Invariants Functions to check invariants.Postconditions Functions to check postconditions.Preconditions Functions to check preconditions. -
Exception Summary Exception Description ContractException One or more conditions have been violated.InvariantViolationException One or more invariants have been violated.PostconditionViolationException One or more postconditions have been violated.PreconditionViolationException One or more checkPreconditions have been violated.