Class EmptyCardinalityInterval
java.lang.Object
tools.refinery.logic.term.cardinalityinterval.EmptyCardinalityInterval
- All Implemented Interfaces:
AbstractValue<CardinalityInterval,
,Integer> CardinalityInterval
-
Method Summary
Modifier and TypeMethodDescriptionadd
(CardinalityInterval other) @Nullable Integer
@Nullable Integer
boolean
join
(CardinalityInterval other) int
max
(CardinalityInterval other) meet
(CardinalityInterval other) min
(CardinalityInterval other) multiply
(CardinalityInterval other) take
(int count) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface tools.refinery.logic.AbstractValue
isConcrete, isError
-
Method Details
-
getConcrete
- Specified by:
getConcrete
in interfaceAbstractValue<CardinalityInterval,
Integer>
-
getArbitrary
- Specified by:
getArbitrary
in interfaceAbstractValue<CardinalityInterval,
Integer>
-
isRefinementOf
- Specified by:
isRefinementOf
in interfaceAbstractValue<CardinalityInterval,
Integer>
-
lowerBound
public int lowerBound()- Specified by:
lowerBound
in interfaceCardinalityInterval
-
upperBound
- Specified by:
upperBound
in interfaceCardinalityInterval
-
min
- Specified by:
min
in interfaceCardinalityInterval
-
max
- Specified by:
max
in interfaceCardinalityInterval
-
add
- Specified by:
add
in interfaceCardinalityInterval
-
take
- Specified by:
take
in interfaceCardinalityInterval
-
multiply
- Specified by:
multiply
in interfaceCardinalityInterval
-
meet
- Specified by:
meet
in interfaceAbstractValue<CardinalityInterval,
Integer>
-
join
- Specified by:
join
in interfaceAbstractValue<CardinalityInterval,
Integer>
-
toString
-