static <T> T |
Invariants.checkInvariant(T value,
ContractConditionType<T> condition) |
Evaluate the given predicate using value as input.
|
static <T> T |
Invariants.checkInvariants(T value,
ContractConditionType<T>... conditions) |
Evaluate all of the given conditions using value as
input.
|
static <T> T |
Postconditions.checkPostcondition(T value,
ContractConditionType<T> condition) |
Evaluate the given predicate using value as input.
|
static <T> T |
Postconditions.checkPostconditions(T value,
ContractConditionType<T>... conditions) |
Evaluate all of the given conditions using value as
input.
|
static <T> T |
Preconditions.checkPrecondition(T value,
ContractConditionType<T> condition) |
Evaluate the given predicate using value as input.
|
static <T> T |
Preconditions.checkPreconditions(T value,
ContractConditionType<T>... conditions) |
Evaluate all of the given conditions using value as
input.
|
static <T> ContractCondition<T> |
ContractCondition.copyOf(ContractConditionType<T> instance) |
|
ContractCondition.Builder<T> |
ContractCondition.Builder.from(ContractConditionType<T> instance) |
Fill a builder with attribute values from the provided ContractConditionType instance.
|