source: libjibx-java-1.1/trunk/fuentes/docs/api/org/jibx/runtime/impl/SparseArrayIterator.html @ 4701

Last change on this file since 4701 was 4701, checked in by Juanma, 3 years ago

Port to xenial

File size: 10.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_02) on Sun Jun 08 22:06:27 NZST 2008 -->
6<TITLE>
7SparseArrayIterator (JiBX Java data binding to XML - Version 1.1.6a)
8</TITLE>
9
10<META NAME="date" CONTENT="2008-06-08">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="SparseArrayIterator (JiBX Java data binding to XML - Version 1.1.6a)";
19    }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39  <TR ALIGN="center" VALIGN="top">
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44  </TR>
45</TABLE>
46</TD>
47<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
48</EM>
49</TD>
50</TR>
51
52<TR>
53<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54&nbsp;<A HREF="../../../../org/jibx/runtime/impl/RuntimeSupport.html" title="class in org.jibx.runtime.impl"><B>PREV CLASS</B></A>&nbsp;
55&nbsp;<A HREF="../../../../org/jibx/runtime/impl/StAXReaderFactory.html" title="class in org.jibx.runtime.impl"><B>NEXT CLASS</B></A></FONT></TD>
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57  <A HREF="../../../../index.html?org/jibx/runtime/impl/SparseArrayIterator.html" target="_top"><B>FRAMES</B></A>  &nbsp;
58&nbsp;<A HREF="SparseArrayIterator.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
59&nbsp;<SCRIPT type="text/javascript">
60  <!--
61  if(window==top) {
62    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
63  }
64  //-->
65</SCRIPT>
66<NOSCRIPT>
67  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
68</NOSCRIPT>
69
70
71</FONT></TD>
72</TR>
73<TR>
74<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
76<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
78</TR>
79</TABLE>
80<A NAME="skip-navbar_top"></A>
81<!-- ========= END OF TOP NAVBAR ========= -->
82
83<HR>
84<!-- ======== START OF CLASS DATA ======== -->
85<H2>
86<FONT SIZE="-1">
87org.jibx.runtime.impl</FONT>
88<BR>
89Class SparseArrayIterator</H2>
90<PRE>
91java.lang.Object
92  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.jibx.runtime.impl.SparseArrayIterator</B>
93</PRE>
94<DL>
95<DT><B>All Implemented Interfaces:</B> <DD>java.util.Iterator</DD>
96</DL>
97<HR>
98<DL>
99<DT><PRE>public class <B>SparseArrayIterator</B><DT>extends java.lang.Object<DT>implements java.util.Iterator</DL>
100</PRE>
101
102<P>
103Iterator class for sparse values in an array. This type of iterator
104 can be used for an object array which has references interspersed with
105 <code>null</code>s.
106<P>
107
108<P>
109<DL>
110<DT><B>Version:</B></DT>
111  <DD>1.1</DD>
112<DT><B>Author:</B></DT>
113  <DD>Dennis M. Sosnoski</DD>
114</DL>
115<HR>
116
117<P>
118
119<!-- ========== METHOD SUMMARY =========== -->
120
121<A NAME="method_summary"><!-- --></A>
122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125<B>Method Summary</B></FONT></TH>
126</TR>
127<TR BGCOLOR="white" CLASS="TableRowColor">
128<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129<CODE>static&nbsp;java.util.Iterator</CODE></FONT></TD>
130<TD><CODE><B><A HREF="../../../../org/jibx/runtime/impl/SparseArrayIterator.html#buildIterator(java.lang.Object[])">buildIterator</A></B>(java.lang.Object[]&nbsp;array)</CODE>
131
132<BR>
133&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Build iterator.</TD>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137<CODE>&nbsp;boolean</CODE></FONT></TD>
138<TD><CODE><B><A HREF="../../../../org/jibx/runtime/impl/SparseArrayIterator.html#hasNext()">hasNext</A></B>()</CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check for iteration element available.</TD>
142</TR>
143<TR BGCOLOR="white" CLASS="TableRowColor">
144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
146<TD><CODE><B><A HREF="../../../../org/jibx/runtime/impl/SparseArrayIterator.html#next()">next</A></B>()</CODE>
147
148<BR>
149&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get next iteration element.</TD>
150</TR>
151<TR BGCOLOR="white" CLASS="TableRowColor">
152<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
153<CODE>&nbsp;void</CODE></FONT></TD>
154<TD><CODE><B><A HREF="../../../../org/jibx/runtime/impl/SparseArrayIterator.html#remove()">remove</A></B>()</CODE>
155
156<BR>
157&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove element from iteration.</TD>
158</TR>
159</TABLE>
160&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
161<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
162<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
163<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
167</TR>
168</TABLE>
169&nbsp;
170<P>
171
172<!-- ============ METHOD DETAIL ========== -->
173
174<A NAME="method_detail"><!-- --></A>
175<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
176<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
177<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
178<B>Method Detail</B></FONT></TH>
179</TR>
180</TABLE>
181
182<A NAME="hasNext()"><!-- --></A><H3>
183hasNext</H3>
184<PRE>
185public boolean <B>hasNext</B>()</PRE>
186<DL>
187<DD>Check for iteration element available.
188<P>
189<DD><DL>
190<DT><B>Specified by:</B><DD><CODE>hasNext</CODE> in interface <CODE>java.util.Iterator</CODE></DL>
191</DD>
192<DD><DL>
193
194<DT><B>Returns:</B><DD><code>true</code> if element available, <code>false</code> if
195 not</DL>
196</DD>
197</DL>
198<HR>
199
200<A NAME="next()"><!-- --></A><H3>
201next</H3>
202<PRE>
203public java.lang.Object <B>next</B>()</PRE>
204<DL>
205<DD>Get next iteration element.
206<P>
207<DD><DL>
208<DT><B>Specified by:</B><DD><CODE>next</CODE> in interface <CODE>java.util.Iterator</CODE></DL>
209</DD>
210<DD><DL>
211
212<DT><B>Returns:</B><DD>next iteration element
213<DT><B>Throws:</B>
214<DD><CODE>java.util.NoSuchElementException</CODE> - if past end of iteration</DL>
215</DD>
216</DL>
217<HR>
218
219<A NAME="remove()"><!-- --></A><H3>
220remove</H3>
221<PRE>
222public void <B>remove</B>()</PRE>
223<DL>
224<DD>Remove element from iteration. This optional operation is not supported
225 and always throws an exception.
226<P>
227<DD><DL>
228<DT><B>Specified by:</B><DD><CODE>remove</CODE> in interface <CODE>java.util.Iterator</CODE></DL>
229</DD>
230<DD><DL>
231
232<DT><B>Throws:</B>
233<DD><CODE>java.lang.UnsupportedOperationException</CODE> - for unsupported operation</DL>
234</DD>
235</DL>
236<HR>
237
238<A NAME="buildIterator(java.lang.Object[])"><!-- --></A><H3>
239buildIterator</H3>
240<PRE>
241public static java.util.Iterator <B>buildIterator</B>(java.lang.Object[]&nbsp;array)</PRE>
242<DL>
243<DD>Build iterator.
244<P>
245<DD><DL>
246</DL>
247</DD>
248<DD><DL>
249<DT><B>Parameters:</B><DD><CODE>array</CODE> - array containing values to be iterated (may be
250 <code>null</code>)
251<DT><B>Returns:</B><DD>constructed iterator</DL>
252</DD>
253</DL>
254<!-- ========= END OF CLASS DATA ========= -->
255<HR>
256
257
258<!-- ======= START OF BOTTOM NAVBAR ====== -->
259<A NAME="navbar_bottom"><!-- --></A>
260<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
261<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
262<TR>
263<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
264<A NAME="navbar_bottom_firstrow"><!-- --></A>
265<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
266  <TR ALIGN="center" VALIGN="top">
267  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
268  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
269  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
270  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
271  </TR>
272</TABLE>
273</TD>
274<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
275</EM>
276</TD>
277</TR>
278
279<TR>
280<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
281&nbsp;<A HREF="../../../../org/jibx/runtime/impl/RuntimeSupport.html" title="class in org.jibx.runtime.impl"><B>PREV CLASS</B></A>&nbsp;
282&nbsp;<A HREF="../../../../org/jibx/runtime/impl/StAXReaderFactory.html" title="class in org.jibx.runtime.impl"><B>NEXT CLASS</B></A></FONT></TD>
283<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
284  <A HREF="../../../../index.html?org/jibx/runtime/impl/SparseArrayIterator.html" target="_top"><B>FRAMES</B></A>  &nbsp;
285&nbsp;<A HREF="SparseArrayIterator.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
286&nbsp;<SCRIPT type="text/javascript">
287  <!--
288  if(window==top) {
289    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
290  }
291  //-->
292</SCRIPT>
293<NOSCRIPT>
294  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
295</NOSCRIPT>
296
297
298</FONT></TD>
299</TR>
300<TR>
301<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
302  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
303<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
304DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
305</TR>
306</TABLE>
307<A NAME="skip-navbar_bottom"></A>
308<!-- ======== END OF BOTTOM NAVBAR ======= -->
309
310<HR>
311<table width='80%%'><tr><td width='50%%'><p align='center'><a href='http://www.jibx.org/' target='_top'><font size='3'><b>Project Web Site</b></font></a></td><td width='50%%'><p align='center'></td></tr></table>
312</BODY>
313</HTML>
Note: See TracBrowser for help on using the repository browser.