gnu.mapping
Class LocationEnumeration

java.lang.Object
  extended by gnu.mapping.LocationEnumeration
All Implemented Interfaces:
java.util.Enumeration, java.util.Iterator

public class LocationEnumeration
extends java.lang.Object
implements java.util.Iterator, java.util.Enumeration


Constructor Summary
LocationEnumeration(NamedLocation[] bindings, int count)
           
LocationEnumeration(SimpleEnvironment env)
           
 
Method Summary
 boolean hasMoreElements()
           
 boolean hasNext()
           
 java.lang.Object next()
           
 java.lang.Object nextElement()
           
 Location nextLocation()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationEnumeration

public LocationEnumeration(NamedLocation[] bindings,
                           int count)

LocationEnumeration

public LocationEnumeration(SimpleEnvironment env)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

nextLocation

public Location nextLocation()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator