Package org.eclipse.persistence.jpa.jpql.tools.utility.iterator
package org.eclipse.persistence.jpa.jpql.tools.utility.iterator
-
ClassDescriptionA
CloneIterator
iterates over a copy of a collection, allowing for concurrent access to the original collection.Used byCloneIterator
to remove elements from the original collection; since the iterator does not have direct access to the original collection.Anull
instance of anIterator
.ASingleElementListIterator
holds a single element and returns it with the first call toSingleElementListIterator.next()
, at which point it will returnfalse
to any subsequent call toSingleElementListIterator.hasNext()
.