Interface CardinalityInterval
- All Superinterfaces:
AbstractValue<CardinalityInterval,
Integer>
- All Known Implementing Classes:
EmptyCardinalityInterval
,NonEmptyCardinalityInterval
public sealed interface CardinalityInterval
extends AbstractValue<CardinalityInterval,Integer>
permits NonEmptyCardinalityInterval, EmptyCardinalityInterval
-
Method Summary
Modifier and TypeMethodDescriptionadd
(CardinalityInterval other) int
max
(CardinalityInterval other) min
(CardinalityInterval other) multiply
(CardinalityInterval other) take
(int count) Methods inherited from interface tools.refinery.logic.AbstractValue
getArbitrary, getConcrete, isConcrete, isError, isRefinementOf, join, meet
-
Method Details
-
lowerBound
int lowerBound() -
upperBound
UpperCardinality upperBound() -
min
-
max
-
add
-
take
-
multiply
-