JaCoP.core
Class IntervalEnumeration

java.lang.Object
  extended by JaCoP.core.IntervalEnumeration
All Implemented Interfaces:
java.util.Enumeration<Interval>
Direct Known Subclasses:
BoundDomainIntervalEnumeration, IntervalDomainIntervalEnumeration, SmallDenseDomainIntervalEnumeration

public abstract class IntervalEnumeration
extends java.lang.Object
implements java.util.Enumeration<Interval>

Defines a methods for enumerating values contain in the intersal domain. It implements the interface Enumeration.

Version:
3.1
Author:
Krzysztof Kuchcinski and Radoslaw Szymanek

Constructor Summary
IntervalEnumeration()
           
 
Method Summary
abstract  boolean hasMoreElements()
           
abstract  Interval nextElement()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntervalEnumeration

public IntervalEnumeration()
Method Detail

hasMoreElements

public abstract boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration<Interval>
Returns:
true if there are more elements to enumerate.

nextElement

public abstract Interval nextElement()
Specified by:
nextElement in interface java.util.Enumeration<Interval>
Returns:
next interval.