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