public class IDataKeyIterator extends IDataElementIterator
Iterator
for the keys in an
IDataKeySet
. This Iterator
is returned by the IDataKeySet.iterator()
method.
IDataKeyIterator
supports all methods in the
Iterator
interface. The IDataKeyIterator.remove()
method removes the key from the IDataKeySet
and removes
the corresponding key/value from the associated WmRecord
.
Iterator
,
IDataKeySet.iterator()
,
WmRecord
cursor, destroyed, hasMoreElements, iData
Constructor and Description |
---|
IDataKeyIterator(com.wm.data.IData iData)
Constructs an
IDataKeyIterator for the underlying IData object. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
next()
Returns the next key element in the
IDataKeySet . |
destroy, finalize, hasNext, remove
public IDataKeyIterator(com.wm.data.IData iData)
IDataKeyIterator
for the underlying IData object.iData
- Underlying iData objectpublic java.lang.Object next()
IDataKeySet
.next
in interface java.util.Iterator
next
in class IDataElementIterator
IDataKeySet
.java.util.NoSuchElementException
- iteration has no more elements.
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.