public abstract class

PDFNetIterator

extends Object
implements Cloneable Iterator<E>
java.lang.Object
   ↳ com.pdftron.common.PDFNetIterator<T>
Known Direct Subclasses

Class Overview

Supports a simple iteration over a non-generic collection.

Summary

Public Constructors
PDFNetIterator()
Public Methods
void Destroy()
Frees the native memory of the object.
abstract Object clone()
boolean hasNext()
Determine whether iterator can be successfully advanced to the next element
abstract T next()
Advances the iterator to the next element of the collection.
void remove()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Iterator

Public Constructors

public PDFNetIterator ()

Public Methods

public void Destroy ()

Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

public abstract Object clone ()

public boolean hasNext ()

Determine whether iterator can be successfully advanced to the next element

Returns
  • true if the iterator can be successfully advanced to the next element; false if the end collection is reached.

public abstract T next ()

Advances the iterator to the next element of the collection.

Returns
  • the next object

public void remove ()