org.melati.poem.util
Class LongEnumeration

Package class diagram package LongEnumeration
java.lang.Object
  extended by org.melati.poem.util.LongEnumeration
All Implemented Interfaces:
Enumeration<Long>

public class LongEnumeration
extends Object
implements Enumeration<Long>

An Enumeration of Longs.


Constructor Summary
LongEnumeration(long start, long limit)
          Constructor.
 
Method Summary
 boolean hasMoreElements()
          
 Long nextElement()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongEnumeration

public LongEnumeration(long start,
                       long limit)
Constructor.

Parameters:
start - starting value
limit - size limit
Method Detail

hasMoreElements

public boolean hasMoreElements()

Specified by:
hasMoreElements in interface Enumeration<Long>
See Also:
Enumeration.hasMoreElements()

nextElement

public Long nextElement()
                 throws NoSuchElementException

Specified by:
nextElement in interface Enumeration<Long>
Throws:
NoSuchElementException
See Also:
Enumeration.nextElement()


Copyright © 2000-2010 PanEris. All Rights Reserved.