net.rim.device.api.lbs.maps.model.geospatial
Class GsElementEnumeration

java.lang.Object
  extended by net.rim.device.api.lbs.maps.model.geospatial.GsElementEnumeration
All Implemented Interfaces:
Enumeration

public class GsElementEnumeration
extends Object
implements Enumeration

Represents an Enumeration of GsElement elements.

Since:
BlackBerry API 7.0.0

Method Summary
 boolean hasMoreElements()
          Tests if this enumeration contains more elements.
 Object nextElement()
          Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
 GsElement nextGsElement()
          Retrieves the next GsElement in this enumeration if there is at least one more element to provide.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Method Detail

hasMoreElements

public boolean hasMoreElements()
Description copied from interface: Enumeration
Tests if this enumeration contains more elements.

Specified by:
hasMoreElements in interface Enumeration
Returns:
true if and only if this enumeration object contains at least one more element to provide; false otherwise.
Since:
BlackBerry API 7.0.0

nextElement

public Object nextElement()
Description copied from interface: Enumeration
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Specified by:
nextElement in interface Enumeration
Returns:
the next element of this enumeration.
Since:
BlackBerry API 7.0.0

nextGsElement

public GsElement nextGsElement()
Retrieves the next GsElement in this enumeration if there is at least one more element to provide.

Returns:
The next element of this enumeration.
Throws:
NoSuchElementException - if no more elements exist.
Since:
BlackBerry API 7.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal