public class BoundDomainIntervalEnumeration extends IntervalEnumeration
Constructor and Description |
---|
BoundDomainIntervalEnumeration(int min,
int max)
It creates an enumeration of intervals for BoundDomain.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
Interval |
nextElement() |
public BoundDomainIntervalEnumeration(int min, int max)
min
- the left bound of the BoundDomain.max
- the right bound of the BoundDomain.public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<Interval>
hasMoreElements
in class IntervalEnumeration
public Interval nextElement()
nextElement
in interface Enumeration<Interval>
nextElement
in class IntervalEnumeration
Copyright © 2022. All rights reserved.