blob: 170a8ff18852026e417b4de7df4c5c45de82579e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_252) on Fri Jul 16 09:38:48 UTC 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CloneListIterator (EclipseLink 3.0.2, API Reference)</title>
<meta name="date" content="2021-07-16">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="CloneListIterator (EclipseLink 3.0.2, API Reference)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/ArrayIterator.html" title="class in org.eclipse.persistence.jpa.jpql.utility.iterator"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" target="_top">Frames</a></li>
<li><a href="CloneListIterator.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.persistence.jpa.jpql.utility.iterator</div>
<h2 title="Class CloneListIterator" class="title">Class CloneListIterator&lt;E&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator&lt;E&gt;</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - the type of elements returned by the iterator</dd>
</dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;E&gt;, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</a>&lt;E&gt;</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterable/SnapshotCloneListIterable.LocalCloneListIterator.html" title="class in org.eclipse.persistence.jpa.jpql.utility.iterable">SnapshotCloneListIterable.LocalCloneListIterator</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">CloneListIterator&lt;E&gt;</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</a>&lt;E&gt;</pre>
<div class="block">A <code>CloneListIterator</code> iterates over a copy of a list,
allowing for concurrent access to the original list.
<p>
The original list passed to the <code>CloneListIterator</code>'s
constructor should be synchronized; otherwise you run the risk of
a corrupted list (e.g. <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util"><code>Vector</code></a>.
<p>
By default, a <code>CloneListIterator</code> does not support the
modification operations; this is because it does not have
access to the original list. But if the <code>CloneListIterator</code>
is supplied with a <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator"><code>CloneListIterator.Mutator</code></a> it will delegate the
modification operations to the <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator"><code>CloneListIterator.Mutator</code></a>.
Alternatively, a subclass can override the modification methods.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="http://git.eclipse.org/c/dali/webtools.dali.git/tree/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/iterable/LiveCloneListIterable.java">LiveCloneListIterable</a>,
<a href="http://git.eclipse.org/c/dali/webtools.dali.git/tree/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/iterable/SnapshotCloneListIterable.java">SnapshotCloneListIterable</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator">CloneListIterator.Mutator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="type parameter in CloneListIterator.Mutator">T</a>&gt;</span></code>
<div class="block">Used by <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="class in org.eclipse.persistence.jpa.jpql.utility.iterator"><code>CloneListIterator</code></a> to remove
elements from the original list; since the list iterator
does not have direct access to the original list.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#CloneListIterator-org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator-java.lang.Object...-">CloneListIterator</a></span>(<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator">CloneListIterator.Mutator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;&nbsp;mutator,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;array)</code>
<div class="block">Internal constructor used by subclasses.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#CloneListIterator-E:A-">CloneListIterator</a></span>(<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>[]&nbsp;array)</code>
<div class="block">Construct a list iterator on a copy of the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#CloneListIterator-E:A-org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator-">CloneListIterator</a></span>(<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>[]&nbsp;array,
<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator">CloneListIterator.Mutator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;&nbsp;mutator)</code>
<div class="block">Construct a list iterator on a copy of the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#CloneListIterator-java.util.List-">CloneListIterator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;&nbsp;list)</code>
<div class="block">Construct a list iterator on a copy of the specified list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#CloneListIterator-java.util.List-org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator-">CloneListIterator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;&nbsp;list,
<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator">CloneListIterator.Mutator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;&nbsp;mutator)</code>
<div class="block">Construct a list iterator on a copy of the specified list.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#add-E-">add</a></span>(<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#add-int-E-">add</a></span>(int&nbsp;index,
<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;o)</code>
<div class="block">Add the specified element to the original list.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#hasNext--">hasNext</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#hasPrevious--">hasPrevious</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#nestedNext--">nestedNext</a></span>()</code>
<div class="block">The list passed in during construction held elements of type <code>E</code>,
so this cast is not a problem.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#nestedPrevious--">nestedPrevious</a></span>()</code>
<div class="block">The list passed in during construction held elements of type <code>E</code>,
so this cast is not a problem.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#next--">next</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#nextIndex--">nextIndex</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#previous--">previous</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#previousIndex--">previousIndex</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#remove--">remove</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#remove-int-">remove</a></span>(int&nbsp;index)</code>
<div class="block">Remove the specified element from the original list.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#set-E-">set</a></span>(<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html#set-int-E-">set</a></span>(int&nbsp;index,
<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;o)</code>
<div class="block">Set the specified element in the original list.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.util.Iterator">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true#forEachRemaining-java.util.function.Consumer-" title="class or interface in java.util">forEachRemaining</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="CloneListIterator-java.lang.Object:A-">
<!-- -->
</a><a name="CloneListIterator-E:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CloneListIterator</h4>
<pre>public&nbsp;CloneListIterator(<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>[]&nbsp;array)</pre>
<div class="block">Construct a list iterator on a copy of the specified array.
The modification methods will not be supported,
unless a subclass overrides them.</div>
</li>
</ul>
<a name="CloneListIterator-java.lang.Object:A-org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator-">
<!-- -->
</a><a name="CloneListIterator-E:A-org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CloneListIterator</h4>
<pre>public&nbsp;CloneListIterator(<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>[]&nbsp;array,
<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator">CloneListIterator.Mutator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;&nbsp;mutator)</pre>
<div class="block">Construct a list iterator on a copy of the specified array.
Use the specified list mutator to modify the original list.</div>
</li>
</ul>
<a name="CloneListIterator-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CloneListIterator</h4>
<pre>public&nbsp;CloneListIterator(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;&nbsp;list)</pre>
<div class="block">Construct a list iterator on a copy of the specified list.
The modification methods will not be supported,
unless a subclass overrides them.</div>
</li>
</ul>
<a name="CloneListIterator-java.util.List-org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CloneListIterator</h4>
<pre>public&nbsp;CloneListIterator(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;&nbsp;list,
<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator">CloneListIterator.Mutator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;&nbsp;mutator)</pre>
<div class="block">Construct a list iterator on a copy of the specified list.
Use the specified list mutator to modify the original list.</div>
</li>
</ul>
<a name="CloneListIterator-org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator-java.lang.Object...-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CloneListIterator</h4>
<pre>protected&nbsp;CloneListIterator(<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator">CloneListIterator.Mutator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;&nbsp;mutator,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;array)</pre>
<div class="block">Internal constructor used by subclasses.
Swap order of arguments to prevent collision with other constructor.
The passed in array will *not* be cloned.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="add-java.lang.Object-">
<!-- -->
</a><a name="add-E-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public&nbsp;void&nbsp;add(<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true#add-E-" title="class or interface in java.util">add</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="add-int-java.lang.Object-">
<!-- -->
</a><a name="add-int-E-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>protected&nbsp;void&nbsp;add(int&nbsp;index,
<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;o)</pre>
<div class="block">Add the specified element to the original list.
<p>
This method can be overridden by a subclass as an
alternative to building a <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator"><code>CloneListIterator.Mutator</code></a>.</div>
</li>
</ul>
<a name="hasNext--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNext</h4>
<pre>public&nbsp;boolean&nbsp;hasNext()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true#hasNext--" title="class or interface in java.util">hasNext</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true#hasNext--" title="class or interface in java.util">hasNext</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="hasPrevious--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasPrevious</h4>
<pre>public&nbsp;boolean&nbsp;hasPrevious()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true#hasPrevious--" title="class or interface in java.util">hasPrevious</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="nestedNext--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nestedNext</h4>
<pre>protected&nbsp;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;nestedNext()</pre>
<div class="block">The list passed in during construction held elements of type <code>E</code>,
so this cast is not a problem. We need this cast because
all the elements of the original collection were copied into
an object array (<code>Object[]</code>).</div>
</li>
</ul>
<a name="nestedPrevious--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nestedPrevious</h4>
<pre>protected&nbsp;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;nestedPrevious()</pre>
<div class="block">The list passed in during construction held elements of type <code>E</code>,
so this cast is not a problem. We need this cast because
all the elements of the original collection were copied into
an object array (<code>Object[]</code>).</div>
</li>
</ul>
<a name="next--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>next</h4>
<pre>public&nbsp;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;next()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true#next--" title="class or interface in java.util">next</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true#next--" title="class or interface in java.util">next</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="nextIndex--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nextIndex</h4>
<pre>public&nbsp;int&nbsp;nextIndex()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true#nextIndex--" title="class or interface in java.util">nextIndex</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="previous--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>previous</h4>
<pre>public&nbsp;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;previous()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true#previous--" title="class or interface in java.util">previous</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="previousIndex--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>previousIndex</h4>
<pre>public&nbsp;int&nbsp;previousIndex()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true#previousIndex--" title="class or interface in java.util">previousIndex</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="remove--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public&nbsp;void&nbsp;remove()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true#remove--" title="class or interface in java.util">remove</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true#remove--" title="class or interface in java.util">remove</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="remove-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>protected&nbsp;void&nbsp;remove(int&nbsp;index)</pre>
<div class="block">Remove the specified element from the original list.
<p>
This method can be overridden by a subclass as an
alternative to building a <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator"><code>CloneListIterator.Mutator</code></a>.</div>
</li>
</ul>
<a name="set-java.lang.Object-">
<!-- -->
</a><a name="set-E-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true#set-E-" title="class or interface in java.util">set</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</a>&lt;<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="set-int-java.lang.Object-">
<!-- -->
</a><a name="set-int-E-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>set</h4>
<pre>protected&nbsp;void&nbsp;set(int&nbsp;index,
<a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" title="type parameter in CloneListIterator">E</a>&nbsp;o)</pre>
<div class="block">Set the specified element in the original list.
<p>
This method can be overridden by a subclass as an
alternative to building a <a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator"><code>CloneListIterator.Mutator</code></a>.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/ArrayIterator.html" title="class in org.eclipse.persistence.jpa.jpql.utility.iterator"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.Mutator.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterator"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/eclipse/persistence/jpa/jpql/utility/iterator/CloneListIterator.html" target="_top">Frames</a></li>
<li><a href="CloneListIterator.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p>
</body>
</html>