net.rim.device.api.util
Interface LongEnumeration


public interface LongEnumeration

Enumeration of long integer elements.


Method Summary
 boolean hasMoreElements()
          Determines if this enumeration contains more elements.
 long nextElement()
          Retrieves the next element of this enumeration.
 

Method Detail

hasMoreElements

public boolean hasMoreElements()
Determines if this enumeration contains more elements.

Returns:
True if this enumeration has at least one more element to provide; otherwise, false.

nextElement

public long nextElement()
Retrieves the next element of this enumeration.

Returns:
Next element in this enumeration.
Throws:
NoSuchElementException - If this enumeration has no more elements.


Copyright 1999-2002 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.