org.melati.poem.util
Class IntegerEnumeration
java.lang.Object
org.melati.poem.util.IntegerEnumeration
- All Implemented Interfaces:
- Enumeration<Integer>
public class IntegerEnumeration
- extends Object
- implements Enumeration<Integer>
An Enumeration
of sequential Integers.
Constructor Summary |
IntegerEnumeration(int start,
int limitP)
Constructor with lower, included, bound and upper, excluded, bound. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegerEnumeration
public IntegerEnumeration(int start,
int limitP)
- Constructor with lower, included, bound and upper, excluded, bound.
- Parameters:
start
- first element.limitP
- upper, excluded, limit
hasMoreElements
public boolean hasMoreElements()
-
- Specified by:
hasMoreElements
in interface Enumeration<Integer>
- See Also:
Enumeration.hasMoreElements()
nextElement
public Integer nextElement()
throws NoSuchElementException
-
- Specified by:
nextElement
in interface Enumeration<Integer>
- Throws:
NoSuchElementException
- See Also:
Enumeration.nextElement()
Copyright © 2000-2010 PanEris. All Rights Reserved.