Package gnu.mapping
Class LocationEnumeration
- java.lang.Object
-
- gnu.mapping.LocationEnumeration
-
- All Implemented Interfaces:
Enumeration<NamedLocation<Object>>
,Iterator<NamedLocation<Object>>
public class LocationEnumeration extends Object implements Iterator<NamedLocation<Object>>, Enumeration<NamedLocation<Object>>
-
-
Constructor Summary
Constructors Constructor Description LocationEnumeration(NamedLocation[] bindings, int count)
LocationEnumeration(SimpleEnvironment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
boolean
hasNext()
NamedLocation
next()
NamedLocation
nextElement()
NamedLocation
nextLocation()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Enumeration
asIterator
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
LocationEnumeration
public LocationEnumeration(NamedLocation[] bindings, int count)
-
LocationEnumeration
public LocationEnumeration(SimpleEnvironment env)
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfaceEnumeration<NamedLocation<Object>>
-
nextElement
public NamedLocation nextElement()
- Specified by:
nextElement
in interfaceEnumeration<NamedLocation<Object>>
-
nextLocation
public NamedLocation nextLocation()
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<NamedLocation<Object>>
-
next
public NamedLocation next()
- Specified by:
next
in interfaceIterator<NamedLocation<Object>>
-
remove
public void remove()
- Specified by:
remove
in interfaceIterator<NamedLocation<Object>>
-
-