public class LongEnumeration extends Object implements Enumeration<Long>
Enumeration of Longs.| Constructor and Description |
|---|
LongEnumeration(long start,
long limit)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
Long |
nextElement() |
public LongEnumeration(long start,
long limit)
start - starting valuelimit - size limitpublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<Long>Enumeration.hasMoreElements()public Long nextElement() throws NoSuchElementException
nextElement in interface Enumeration<Long>NoSuchElementExceptionEnumeration.nextElement()Copyright © 2000–2021 PanEris. All rights reserved.