#include <java_util_Iterator.h>
Inheritance diagram for java::util::Iterator:


Public Types | |
| enum | { xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9, xmogBuildNumber = 2047 } |
|
typedef ::xmog_java_array_template< ::java::util::Iterator > | array1D |
|
typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::util::Iterator > > | array2D |
Public Member Functions | |
| virtual bool | hasNext (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns true if the iteration has more elements. | |
| virtual ::java::lang::Object | next (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Returns the next element in the iteration. | |
| virtual void | remove (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Removes from the underlying collection the last element returned by the iterator (optional operation). | |
Iterator takes the place of Enumeration in the Java collections framework. Iterators differ from enumerations in two ways:
This interface is a member of the Java Collections Framework.
|
||||||||||||
|
Returns
(In other words, returns
|
|
||||||||||||
|
Returns the next element in the iteration.
|
|
||||||||||||
|
Removes from the underlying collection the last element returned by the iterator (optional operation).
This method can be called only once per call to
|
1.4.1