source: sandbox/expresso-solr/solr/docs/api/org/apache/solr/common/util/NamedList.html @ 7588

Revision 7588, 44.5 KB checked in by adir, 11 years ago (diff)

Ticket #000 - Adicionando a integracao de buscas com Solr na base a ser isnerida na comunidade

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_24) on Mon Jun 25 15:26:26 EDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=utf-8">
7<TITLE>
8NamedList (Solr 4.0.0-ALPHA API)
9</TITLE>
10
11<META NAME="date" CONTENT="2012-06-25">
12
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
14
15<SCRIPT type="text/javascript">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="NamedList (Solr 4.0.0-ALPHA API)";
20    }
21}
22</SCRIPT>
23<NOSCRIPT>
24</NOSCRIPT>
25
26</HEAD>
27
28<BODY BGCOLOR="white" onload="windowTitle();">
29<HR>
30
31
32<!-- ========= START OF TOP NAVBAR ======= -->
33<A NAME="navbar_top"><!-- --></A>
34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36<TR>
37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38<A NAME="navbar_top_firstrow"><!-- --></A>
39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40  <TR ALIGN="center" VALIGN="top">
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/NamedList.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;<A HREF="../../../../../org/apache/solr/common/util/JavaBinCodec.ObjectResolver.html" title="interface in org.apache.solr.common.util"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../../org/apache/solr/common/util/NamedList.NamedListEntry.html" title="class in org.apache.solr.common.util"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../../index.html?org/apache/solr/common/util/NamedList.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="NamedList.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91org.apache.solr.common.util</FONT>
92<BR>
93Class NamedList&lt;T&gt;</H2>
94<PRE>
95<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.common.util.NamedList&lt;T&gt;</B>
97</PRE>
98<DL>
99<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,T&gt;&gt;</DD>
100</DL>
101<DL>
102<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/solr/common/util/SimpleOrderedMap.html" title="class in org.apache.solr.common.util">SimpleOrderedMap</A></DD>
103</DL>
104<HR>
105<DL>
106<DT><PRE>public class <B>NamedList&lt;T&gt;</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,T&gt;&gt;</DL>
107</PRE>
108
109<P>
110A simple container class for modeling an ordered list of name/value pairs.
111
112 <p>
113 Unlike Maps:
114 </p>
115 <ul>
116  <li>Names may be repeated</li>
117  <li>Order of elements is maintained</li>
118  <li>Elements may be accessed by numeric index</li>
119  <li>Names and Values can both be null</li>
120 </ul>
121
122 <p>
123 A NamedList provides fast access by element number, but not by name.
124 </p>
125 <p>
126 When a NamedList is serialized, order is considered more important than access
127 by key, so ResponseWriters that output to a format such as JSON will normally
128 choose a data structure that allows order to be easily preserved in various
129 clients (i.e. not a straight map).
130 If access by key is more important for serialization, see <A HREF="../../../../../org/apache/solr/common/util/SimpleOrderedMap.html" title="class in org.apache.solr.common.util"><CODE>SimpleOrderedMap</CODE></A>,
131 or simply use a regular <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A>
132 </p>
133<P>
134
135<P>
136<DL>
137<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.apache.solr.common.util.NamedList">Serialized Form</A></DL>
138<HR>
139
140<P>
141<!-- ======== NESTED CLASS SUMMARY ======== -->
142
143<A NAME="nested_class_summary"><!-- --></A>
144<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
145<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
146<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
147<B>Nested Class Summary</B></FONT></TH>
148</TR>
149<TR BGCOLOR="white" CLASS="TableRowColor">
150<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151<CODE>static&nbsp;class</CODE></FONT></TD>
152<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.NamedListEntry.html" title="class in org.apache.solr.common.util">NamedList.NamedListEntry</A>&lt;<A HREF="../../../../../org/apache/solr/common/util/NamedList.NamedListEntry.html" title="type parameter in NamedList.NamedListEntry">T</A>&gt;</B></CODE>
153
154<BR>
155&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper class implementing Map.Entry&lt;String, T&gt; to store the key-value
156 relationship in NamedList (the keys of which are String-s)</TD>
157</TR>
158</TABLE>
159&nbsp;<!-- =========== FIELD SUMMARY =========== -->
160
161<A NAME="field_summary"><!-- --></A>
162<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
163<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
164<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
165<B>Field Summary</B></FONT></TH>
166</TR>
167<TR BGCOLOR="white" CLASS="TableRowColor">
168<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
169<CODE>protected &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt;</CODE></FONT></TD>
170<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#nvPairs">nvPairs</A></B></CODE>
171
172<BR>
173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
174</TR>
175</TABLE>
176&nbsp;
177<!-- ======== CONSTRUCTOR SUMMARY ======== -->
178
179<A NAME="constructor_summary"><!-- --></A>
180<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
181<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
182<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
183<B>Constructor Summary</B></FONT></TH>
184</TR>
185<TR BGCOLOR="white" CLASS="TableRowColor">
186<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#NamedList()">NamedList</A></B>()</CODE>
187
188<BR>
189&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty instance</TD>
190</TR>
191<TR BGCOLOR="white" CLASS="TableRowColor">
192<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#NamedList(java.util.List)">NamedList</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt;&nbsp;nameValuePairs)</CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../../org/apache/solr/common/util/NamedList.html#NamedList(java.util.Map.Entry[])"><CODE>NamedList(java.util.Map.Entry[])</CODE></A> for the NamedList instantiation</I></TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#NamedList(java.util.Map.Entry[])">NamedList</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,? extends <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt;[]&nbsp;nameValuePairs)</CODE>
199
200<BR>
201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a NamedList instance containing the "name,value" pairs contained in the
202 Entry[].</TD>
203</TR>
204</TABLE>
205&nbsp;
206<!-- ========== METHOD SUMMARY =========== -->
207
208<A NAME="method_summary"><!-- --></A>
209<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
210<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
211<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
212<B>Method Summary</B></FONT></TH>
213</TR>
214<TR BGCOLOR="white" CLASS="TableRowColor">
215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
216<CODE>&nbsp;void</CODE></FONT></TD>
217<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#add(java.lang.String, T)">add</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
218    <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&nbsp;val)</CODE>
219
220<BR>
221&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a name/value pair to the end of the list.</TD>
222</TR>
223<TR BGCOLOR="white" CLASS="TableRowColor">
224<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225<CODE>&nbsp;boolean</CODE></FONT></TD>
226<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#addAll(java.util.Map)">addAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt;&nbsp;args)</CODE>
227
228<BR>
229&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Iterates over the Map and sequentially adds it's key/value pairs</TD>
230</TR>
231<TR BGCOLOR="white" CLASS="TableRowColor">
232<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233<CODE>&nbsp;boolean</CODE></FONT></TD>
234<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#addAll(org.apache.solr.common.util.NamedList)">addAll</A></B>(<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A>&lt;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt;&nbsp;nl)</CODE>
235
236<BR>
237&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the elements of the given NamedList to this one.</TD>
238</TR>
239<TR BGCOLOR="white" CLASS="TableRowColor">
240<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
241<CODE>&nbsp;void</CODE></FONT></TD>
242<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#clear()">clear</A></B>()</CODE>
243
244<BR>
245&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
246</TR>
247<TR BGCOLOR="white" CLASS="TableRowColor">
248<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
249<CODE>&nbsp;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A>&lt;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt;</CODE></FONT></TD>
250<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#clone()">clone</A></B>()</CODE>
251
252<BR>
253&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makes a <i>shallow copy</i> of the named list.</TD>
254</TR>
255<TR BGCOLOR="white" CLASS="TableRowColor">
256<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257<CODE>&nbsp;boolean</CODE></FONT></TD>
258<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;obj)</CODE>
259
260<BR>
261&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
262</TR>
263<TR BGCOLOR="white" CLASS="TableRowColor">
264<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
265<CODE>&nbsp;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A></CODE></FONT></TD>
266<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#get(java.lang.String)">get</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
267
268<BR>
269&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the value for the first instance of the specified name
270 found.</TD>
271</TR>
272<TR BGCOLOR="white" CLASS="TableRowColor">
273<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
274<CODE>&nbsp;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A></CODE></FONT></TD>
275<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#get(java.lang.String, int)">get</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
276    int&nbsp;start)</CODE>
277
278<BR>
279&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the value for the first instance of the specified name
280 found starting at the specified index.</TD>
281</TR>
282<TR BGCOLOR="white" CLASS="TableRowColor">
283<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
284<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt;</CODE></FONT></TD>
285<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#getAll(java.lang.String)">getAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
286
287<BR>
288&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the values for the the specified name</TD>
289</TR>
290<TR BGCOLOR="white" CLASS="TableRowColor">
291<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
293<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#getName(int)">getName</A></B>(int&nbsp;idx)</CODE>
294
295<BR>
296&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name of the pair at the specified List index</TD>
297</TR>
298<TR BGCOLOR="white" CLASS="TableRowColor">
299<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
300<CODE>&nbsp;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A></CODE></FONT></TD>
301<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#getVal(int)">getVal</A></B>(int&nbsp;idx)</CODE>
302
303<BR>
304&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The value of the pair at the specified List index</TD>
305</TR>
306<TR BGCOLOR="white" CLASS="TableRowColor">
307<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
308<CODE>&nbsp;int</CODE></FONT></TD>
309<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#hashCode()">hashCode</A></B>()</CODE>
310
311<BR>
312&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
313</TR>
314<TR BGCOLOR="white" CLASS="TableRowColor">
315<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
316<CODE>&nbsp;int</CODE></FONT></TD>
317<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#indexOf(java.lang.String, int)">indexOf</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
318        int&nbsp;start)</CODE>
319
320<BR>
321&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scans the list sequentially beginning at the specified index and
322 returns the index of the first pair with the specified name.</TD>
323</TR>
324<TR BGCOLOR="white" CLASS="TableRowColor">
325<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
326<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt;&gt;</CODE></FONT></TD>
327<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#iterator()">iterator</A></B>()</CODE>
328
329<BR>
330&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Support the Iterable interface</TD>
331</TR>
332<TR BGCOLOR="white" CLASS="TableRowColor">
333<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
334<CODE>&nbsp;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A></CODE></FONT></TD>
335<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#remove(int)">remove</A></B>(int&nbsp;idx)</CODE>
336
337<BR>
338&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the name/value pair at the specified index.</TD>
339</TR>
340<TR BGCOLOR="white" CLASS="TableRowColor">
341<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
342<CODE>&nbsp;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A></CODE></FONT></TD>
343<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#remove(java.lang.String)">remove</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
344
345<BR>
346&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: this runs in linear time (it scans starting at the
347 beginning of the list until it finds the first pair with
348 the specified name).</TD>
349</TR>
350<TR BGCOLOR="white" CLASS="TableRowColor">
351<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
352<CODE>&nbsp;void</CODE></FONT></TD>
353<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#setName(int, java.lang.String)">setName</A></B>(int&nbsp;idx,
354        <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
355
356<BR>
357&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the name of the pair at the specified index.</TD>
358</TR>
359<TR BGCOLOR="white" CLASS="TableRowColor">
360<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
361<CODE>&nbsp;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A></CODE></FONT></TD>
362<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#setVal(int, T)">setVal</A></B>(int&nbsp;idx,
363       <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&nbsp;val)</CODE>
364
365<BR>
366&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the value of the pair at the specified index.</TD>
367</TR>
368<TR BGCOLOR="white" CLASS="TableRowColor">
369<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
370<CODE>&nbsp;int</CODE></FONT></TD>
371<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#size()">size</A></B>()</CODE>
372
373<BR>
374&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The total number of name/value pairs</TD>
375</TR>
376<TR BGCOLOR="white" CLASS="TableRowColor">
377<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
378<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
379<TD><CODE><B><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#toString()">toString</A></B>()</CODE>
380
381<BR>
382&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
383</TR>
384</TABLE>
385&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
386<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
387<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
388<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
389</TR>
390<TR BGCOLOR="white" CLASS="TableRowColor">
391<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
392</TR>
393</TABLE>
394&nbsp;
395<P>
396
397<!-- ============ FIELD DETAIL =========== -->
398
399<A NAME="field_detail"><!-- --></A>
400<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
401<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
402<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
403<B>Field Detail</B></FONT></TH>
404</TR>
405</TABLE>
406
407<A NAME="nvPairs"><!-- --></A><H3>
408nvPairs</H3>
409<PRE>
410protected final <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt; <B>nvPairs</B></PRE>
411<DL>
412<DL>
413</DL>
414</DL>
415
416<!-- ========= CONSTRUCTOR DETAIL ======== -->
417
418<A NAME="constructor_detail"><!-- --></A>
419<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
420<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
421<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
422<B>Constructor Detail</B></FONT></TH>
423</TR>
424</TABLE>
425
426<A NAME="NamedList()"><!-- --></A><H3>
427NamedList</H3>
428<PRE>
429public <B>NamedList</B>()</PRE>
430<DL>
431<DD>Creates an empty instance
432<P>
433</DL>
434<HR>
435
436<A NAME="NamedList(java.util.Map.Entry[])"><!-- --></A><H3>
437NamedList</H3>
438<PRE>
439public <B>NamedList</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,? extends <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt;[]&nbsp;nameValuePairs)</PRE>
440<DL>
441<DD>Creates a NamedList instance containing the "name,value" pairs contained in the
442 Entry[].
443
444 <p>
445 Modifying the contents of the Entry[] after calling this constructor may change
446 the NamedList (in future versions of Solr), but this is not guaranteed and should
447 not be relied upon.  To modify the NamedList, refer to <A HREF="../../../../../org/apache/solr/common/util/NamedList.html#add(java.lang.String, T)"><CODE>add(String, Object)</CODE></A>
448 or <A HREF="../../../../../org/apache/solr/common/util/NamedList.html#remove(java.lang.String)"><CODE>remove(String)</CODE></A>.
449 </p>
450<P>
451<DL>
452<DT><B>Parameters:</B><DD><CODE>nameValuePairs</CODE> - the name value pairs</DL>
453</DL>
454<HR>
455
456<A NAME="NamedList(java.util.List)"><!-- --></A><H3>
457NamedList</H3>
458<PRE>
459<FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A>
460</FONT>public <B>NamedList</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt;&nbsp;nameValuePairs)</PRE>
461<DL>
462<DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../../org/apache/solr/common/util/NamedList.html#NamedList(java.util.Map.Entry[])"><CODE>NamedList(java.util.Map.Entry[])</CODE></A> for the NamedList instantiation</I>
463<P>
464<DD>Creates an instance backed by an explicitly specified list of
465 pairwise names/values.
466
467 <p>
468 When using this constructor, runtime typesafety is only guaranteed if the all
469 even numbered elements of the input list are of type "T".
470 </p>
471<P>
472<DL>
473<DT><B>Parameters:</B><DD><CODE>nameValuePairs</CODE> - underlying List which should be used to implement a NamedList</DL>
474</DL>
475
476<!-- ============ METHOD DETAIL ========== -->
477
478<A NAME="method_detail"><!-- --></A>
479<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
480<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
481<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
482<B>Method Detail</B></FONT></TH>
483</TR>
484</TABLE>
485
486<A NAME="size()"><!-- --></A><H3>
487size</H3>
488<PRE>
489public int <B>size</B>()</PRE>
490<DL>
491<DD>The total number of name/value pairs
492<P>
493<DD><DL>
494</DL>
495</DD>
496<DD><DL>
497</DL>
498</DD>
499</DL>
500<HR>
501
502<A NAME="getName(int)"><!-- --></A><H3>
503getName</H3>
504<PRE>
505public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>(int&nbsp;idx)</PRE>
506<DL>
507<DD>The name of the pair at the specified List index
508<P>
509<DD><DL>
510</DL>
511</DD>
512<DD><DL>
513
514<DT><B>Returns:</B><DD>null if no name exists</DL>
515</DD>
516</DL>
517<HR>
518
519<A NAME="getVal(int)"><!-- --></A><H3>
520getVal</H3>
521<PRE>
522public <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A> <B>getVal</B>(int&nbsp;idx)</PRE>
523<DL>
524<DD>The value of the pair at the specified List index
525<P>
526<DD><DL>
527</DL>
528</DD>
529<DD><DL>
530
531<DT><B>Returns:</B><DD>may be null</DL>
532</DD>
533</DL>
534<HR>
535
536<A NAME="add(java.lang.String,java.lang.Object)"><!-- --></A><A NAME="add(java.lang.String, T)"><!-- --></A><H3>
537add</H3>
538<PRE>
539public void <B>add</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
540                <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&nbsp;val)</PRE>
541<DL>
542<DD>Adds a name/value pair to the end of the list.
543<P>
544<DD><DL>
545</DL>
546</DD>
547<DD><DL>
548</DL>
549</DD>
550</DL>
551<HR>
552
553<A NAME="setName(int, java.lang.String)"><!-- --></A><H3>
554setName</H3>
555<PRE>
556public void <B>setName</B>(int&nbsp;idx,
557                    <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
558<DL>
559<DD>Modifies the name of the pair at the specified index.
560<P>
561<DD><DL>
562</DL>
563</DD>
564<DD><DL>
565</DL>
566</DD>
567</DL>
568<HR>
569
570<A NAME="setVal(int,java.lang.Object)"><!-- --></A><A NAME="setVal(int, T)"><!-- --></A><H3>
571setVal</H3>
572<PRE>
573public <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A> <B>setVal</B>(int&nbsp;idx,
574                <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&nbsp;val)</PRE>
575<DL>
576<DD>Modifies the value of the pair at the specified index.
577<P>
578<DD><DL>
579</DL>
580</DD>
581<DD><DL>
582
583<DT><B>Returns:</B><DD>the value that used to be at index</DL>
584</DD>
585</DL>
586<HR>
587
588<A NAME="remove(int)"><!-- --></A><H3>
589remove</H3>
590<PRE>
591public <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A> <B>remove</B>(int&nbsp;idx)</PRE>
592<DL>
593<DD>Removes the name/value pair at the specified index.
594<P>
595<DD><DL>
596</DL>
597</DD>
598<DD><DL>
599
600<DT><B>Returns:</B><DD>the value at the index removed</DL>
601</DD>
602</DL>
603<HR>
604
605<A NAME="indexOf(java.lang.String, int)"><!-- --></A><H3>
606indexOf</H3>
607<PRE>
608public int <B>indexOf</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
609                   int&nbsp;start)</PRE>
610<DL>
611<DD>Scans the list sequentially beginning at the specified index and
612 returns the index of the first pair with the specified name.
613<P>
614<DD><DL>
615</DL>
616</DD>
617<DD><DL>
618<DT><B>Parameters:</B><DD><CODE>name</CODE> - name to look for, may be null<DD><CODE>start</CODE> - index to begin searching from
619<DT><B>Returns:</B><DD>The index of the first matching pair, -1 if no match</DL>
620</DD>
621</DL>
622<HR>
623
624<A NAME="get(java.lang.String)"><!-- --></A><H3>
625get</H3>
626<PRE>
627public <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A> <B>get</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
628<DL>
629<DD>Gets the value for the first instance of the specified name
630 found.
631 <p>
632 NOTE: this runs in linear time (it scans starting at the
633 beginning of the list until it finds the first pair with
634 the specified name).
635<P>
636<DD><DL>
637</DL>
638</DD>
639<DD><DL>
640
641<DT><B>Returns:</B><DD>null if not found or if the value stored was null.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#indexOf(java.lang.String, int)"><CODE>indexOf(java.lang.String, int)</CODE></A>,
642<A HREF="../../../../../org/apache/solr/common/util/NamedList.html#get(java.lang.String, int)"><CODE>get(String,int)</CODE></A></DL>
643</DD>
644</DL>
645<HR>
646
647<A NAME="get(java.lang.String, int)"><!-- --></A><H3>
648get</H3>
649<PRE>
650public <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A> <B>get</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
651             int&nbsp;start)</PRE>
652<DL>
653<DD>Gets the value for the first instance of the specified name
654 found starting at the specified index.
655 <p>
656 NOTE: this runs in linear time (it scans starting at the
657 specified position until it finds the first pair with
658 the specified name).
659<P>
660<DD><DL>
661</DL>
662</DD>
663<DD><DL>
664
665<DT><B>Returns:</B><DD>null if not found or if the value stored was null.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/solr/common/util/NamedList.html#indexOf(java.lang.String, int)"><CODE>indexOf(java.lang.String, int)</CODE></A></DL>
666</DD>
667</DL>
668<HR>
669
670<A NAME="getAll(java.lang.String)"><!-- --></A><H3>
671getAll</H3>
672<PRE>
673public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt; <B>getAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
674<DL>
675<DD>Gets the values for the the specified name
676<P>
677<DD><DL>
678</DL>
679</DD>
680<DD><DL>
681<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name
682<DT><B>Returns:</B><DD>List of values</DL>
683</DD>
684</DL>
685<HR>
686
687<A NAME="toString()"><!-- --></A><H3>
688toString</H3>
689<PRE>
690public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
691<DL>
692<DD><DL>
693<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
694</DD>
695<DD><DL>
696</DL>
697</DD>
698</DL>
699<HR>
700
701<A NAME="addAll(java.util.Map)"><!-- --></A><H3>
702addAll</H3>
703<PRE>
704public boolean <B>addAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt;&nbsp;args)</PRE>
705<DL>
706<DD>Iterates over the Map and sequentially adds it's key/value pairs
707<P>
708<DD><DL>
709</DL>
710</DD>
711<DD><DL>
712</DL>
713</DD>
714</DL>
715<HR>
716
717<A NAME="addAll(org.apache.solr.common.util.NamedList)"><!-- --></A><H3>
718addAll</H3>
719<PRE>
720public boolean <B>addAll</B>(<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A>&lt;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt;&nbsp;nl)</PRE>
721<DL>
722<DD>Appends the elements of the given NamedList to this one.
723<P>
724<DD><DL>
725</DL>
726</DD>
727<DD><DL>
728</DL>
729</DD>
730</DL>
731<HR>
732
733<A NAME="clone()"><!-- --></A><H3>
734clone</H3>
735<PRE>
736public <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A>&lt;<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt; <B>clone</B>()</PRE>
737<DL>
738<DD>Makes a <i>shallow copy</i> of the named list.
739<P>
740<DD><DL>
741<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
742</DD>
743<DD><DL>
744</DL>
745</DD>
746</DL>
747<HR>
748
749<A NAME="iterator()"><!-- --></A><H3>
750iterator</H3>
751<PRE>
752public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt;&gt; <B>iterator</B>()</PRE>
753<DL>
754<DD>Support the Iterable interface
755<P>
756<DD><DL>
757<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang">iterator</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A>&gt;&gt;</CODE></DL>
758</DD>
759<DD><DL>
760</DL>
761</DD>
762</DL>
763<HR>
764
765<A NAME="remove(java.lang.String)"><!-- --></A><H3>
766remove</H3>
767<PRE>
768public <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="type parameter in NamedList">T</A> <B>remove</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
769<DL>
770<DD>NOTE: this runs in linear time (it scans starting at the
771 beginning of the list until it finds the first pair with
772 the specified name).
773<P>
774<DD><DL>
775</DL>
776</DD>
777<DD><DL>
778</DL>
779</DD>
780</DL>
781<HR>
782
783<A NAME="clear()"><!-- --></A><H3>
784clear</H3>
785<PRE>
786public void <B>clear</B>()</PRE>
787<DL>
788<DD><DL>
789</DL>
790</DD>
791<DD><DL>
792</DL>
793</DD>
794</DL>
795<HR>
796
797<A NAME="hashCode()"><!-- --></A><H3>
798hashCode</H3>
799<PRE>
800public int <B>hashCode</B>()</PRE>
801<DL>
802<DD><DL>
803<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
804</DD>
805<DD><DL>
806</DL>
807</DD>
808</DL>
809<HR>
810
811<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
812equals</H3>
813<PRE>
814public boolean <B>equals</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;obj)</PRE>
815<DL>
816<DD><DL>
817<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
818</DD>
819<DD><DL>
820</DL>
821</DD>
822</DL>
823<!-- ========= END OF CLASS DATA ========= -->
824<HR>
825
826
827<!-- ======= START OF BOTTOM NAVBAR ====== -->
828<A NAME="navbar_bottom"><!-- --></A>
829<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
830<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
831<TR>
832<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
833<A NAME="navbar_bottom_firstrow"><!-- --></A>
834<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
835  <TR ALIGN="center" VALIGN="top">
836  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
837  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
838  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
839  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/NamedList.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
840  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
841  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
842  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
843  </TR>
844</TABLE>
845</TD>
846<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
847</EM>
848</TD>
849</TR>
850
851<TR>
852<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
853&nbsp;<A HREF="../../../../../org/apache/solr/common/util/JavaBinCodec.ObjectResolver.html" title="interface in org.apache.solr.common.util"><B>PREV CLASS</B></A>&nbsp;
854&nbsp;<A HREF="../../../../../org/apache/solr/common/util/NamedList.NamedListEntry.html" title="class in org.apache.solr.common.util"><B>NEXT CLASS</B></A></FONT></TD>
855<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
856  <A HREF="../../../../../index.html?org/apache/solr/common/util/NamedList.html" target="_top"><B>FRAMES</B></A>  &nbsp;
857&nbsp;<A HREF="NamedList.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
858&nbsp;<SCRIPT type="text/javascript">
859  <!--
860  if(window==top) {
861    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
862  }
863  //-->
864</SCRIPT>
865<NOSCRIPT>
866  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
867</NOSCRIPT>
868
869
870</FONT></TD>
871</TR>
872<TR>
873<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
874  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
875<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
876DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
877</TR>
878</TABLE>
879<A NAME="skip-navbar_bottom"></A>
880<!-- ======== END OF BOTTOM NAVBAR ======= -->
881
882<HR>
883
884          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
885          <script src='../../../../../prettify.js' type='text/javascript'></script>
886          <script type='text/javascript'>
887            (function(){
888              var oldonload = window.onload;
889              if (typeof oldonload != 'function') {
890                window.onload = prettyPrint;
891              } else {
892                window.onload = function() {
893                  oldonload();
894                  prettyPrint();
895                }
896              }
897            })();
898          </script>
899       
900</BODY>
901</HTML>
Note: See TracBrowser for help on using the repository browser.