@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER,METHOD})
public @interface BoundedIntDomain
IlrBoundedDomain
in the BOM.| Modifier and Type | Required Element and Description |
|---|---|
int |
min
The lower bound of the domain.
|
| Modifier and Type | Optional Element and Description |
|---|---|
int |
max
The higher bound of the domain.
|
boolean |
maxIncluded
true if the higher bound should be included in the domain. |
boolean |
minIncluded
true if the lower bound should be included in the domain. |
public abstract int min
public abstract boolean minIncluded
true if the lower bound should be included in the domain.
By default, it is true.public abstract int max
public abstract boolean maxIncluded
true if the higher bound should be included in the domain.
By default it is true.© Copyright IBM Corp. 1987, 2017