oracle.panama.spatial.intladdress
Class IntlAddressManager.StringArrayIterator
java.lang.Object
oracle.panama.spatial.intladdress.IntlAddressManager.StringArrayIterator
- All Implemented Interfaces:
- java.util.Iterator
- Enclosing class:
- IntlAddressManager
- public static class IntlAddressManager.StringArrayIterator
- extends java.lang.Object
- implements java.util.Iterator
This is a useful sub class to work with string array iterators
Method Summary |
boolean |
hasNext()
Returns true if the next element exists |
java.lang.Object |
next()
Returns the next element |
void |
remove()
The remove method is not supported |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntlAddressManager.StringArrayIterator
public IntlAddressManager.StringArrayIterator(java.lang.String[] str)
- Constructor
- Parameters:
str
- the string array
hasNext
public boolean hasNext()
- Returns true if the next element exists
-
- Specified by:
hasNext
in interface java.util.Iterator
-
- Returns:
- true if the next element exists
next
public java.lang.Object next()
- Returns the next element
-
- Specified by:
next
in interface java.util.Iterator
-
- Returns:
- the next element
remove
public void remove()
throws java.lang.UnsupportedOperationException
- The remove method is not supported
-
- Specified by:
remove
in interface java.util.Iterator
-
- Throws:
java.lang.UnsupportedOperationException
Copyright © 2004 Oracle Corporation. All Rights Reserved.