public class DictIterator
extends java.lang.Object
DictIterator itr = dict.getDictIterator();
while (itr.hasNext()) {
Obj key = itr.key();
cout << key.getName() << endl;
Obj value = itr.value();
// ...
itr.next()
}
Modifier and Type | Method and Description |
---|---|
long |
__GetHandle() |
void |
destroy()
Frees the native memory of the object.
|
boolean |
hasNext()
Checks if DictIterator can advance to the next item.
|
Obj |
key()
Get the key of the current dictionary entry
|
void |
next()
Advances the iterator to the next element of the collection.
|
Obj |
value()
Get the value of the current dictionary entry
|
public void destroy() throws PDFNetException
PDFNetException
public void next() throws PDFNetException
PDFNetException
public Obj key() throws PDFNetException
PDFNetException
public Obj value() throws PDFNetException
PDFNetException
public boolean hasNext() throws PDFNetException
PDFNetException
public long __GetHandle()