public class LocationEnumeration extends java.lang.Object implements java.util.Iterator<NamedLocation<java.lang.Object>>, java.util.Enumeration<NamedLocation<java.lang.Object>>
Constructor and Description |
---|
LocationEnumeration(NamedLocation[] bindings,
int count) |
LocationEnumeration(SimpleEnvironment env) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
boolean |
hasNext() |
NamedLocation |
next() |
NamedLocation |
nextElement() |
NamedLocation |
nextLocation() |
void |
remove() |
public LocationEnumeration(NamedLocation[] bindings, int count)
public LocationEnumeration(SimpleEnvironment env)
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration<NamedLocation<java.lang.Object>>
public NamedLocation nextElement()
nextElement
in interface java.util.Enumeration<NamedLocation<java.lang.Object>>
public NamedLocation nextLocation()
public boolean hasNext()
hasNext
in interface java.util.Iterator<NamedLocation<java.lang.Object>>
public NamedLocation next()
next
in interface java.util.Iterator<NamedLocation<java.lang.Object>>
public void remove()
remove
in interface java.util.Iterator<NamedLocation<java.lang.Object>>