source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/util/CollectionUtils.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 13.5 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.4.2_13) on Mon Oct 01 14:33:34 NZST 2007 -->
6<TITLE>
7CollectionUtils (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.util.CollectionUtils class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="CollectionUtils (Apache Ant API)";
18}
19</SCRIPT>
20
21</HEAD>
22
23<BODY BGCOLOR="white" onload="windowTitle();">
24
25
26<!-- ========= START OF TOP NAVBAR ======= -->
27<A NAME="navbar_top"><!-- --></A>
28<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30<TR>
31<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32<A NAME="navbar_top_firstrow"><!-- --></A>
33<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42 </TR>
43</TABLE>
44</TD>
45<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46</EM>
47</TD>
48</TR>
49
50<TR>
51<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52&nbsp;<A HREF="../../../../../org/apache/tools/ant/util/ClasspathUtils.Delegate.html" title="class in org.apache.tools.ant.util"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../../org/apache/tools/ant/util/CollectionUtils.EmptyEnumeration.html" title="class in org.apache.tools.ant.util"><B>NEXT CLASS</B></A></FONT></TD>
54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
56&nbsp;<A HREF="CollectionUtils.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<SCRIPT type="text/javascript">
58 <!--
59 if(window==top) {
60 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61 }
62 //-->
63</SCRIPT>
64<NOSCRIPT>
65 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66</NOSCRIPT>
67
68</FONT></TD>
69</TR>
70<TR>
71<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72 SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75</TR>
76</TABLE>
77<A NAME="skip-navbar_top"></A>
78<!-- ========= END OF TOP NAVBAR ========= -->
79
80<HR>
81<!-- ======== START OF CLASS DATA ======== -->
82<H2>
83<FONT SIZE="-1">
84org.apache.tools.ant.util</FONT>
85<BR>
86Class CollectionUtils</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.util.CollectionUtils</B>
90</PRE>
91<HR>
92<DL>
93<DT>public class <B>CollectionUtils</B><DT>extends java.lang.Object</DL>
94
95<P>
96A set of helper methods related to collection manipulation.
97<P>
98
99<P>
100<DL>
101<DT><B>Since:</B></DT>
102 <DD>Ant 1.5</DD>
103</DL>
104<HR>
105
106<P>
107<!-- ======== NESTED CLASS SUMMARY ======== -->
108
109<A NAME="nested_class_summary"><!-- --></A>
110<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112<TD COLSPAN=2><FONT SIZE="+2">
113<B>Nested Class Summary</B></FONT></TD>
114</TR>
115<TR BGCOLOR="white" CLASS="TableRowColor">
116<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
117<CODE>static&nbsp;class</CODE></FONT></TD>
118<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/util/CollectionUtils.EmptyEnumeration.html" title="class in org.apache.tools.ant.util">CollectionUtils.EmptyEnumeration</A></B></CODE>
119
120<BR>
121&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
122</TR>
123</TABLE>
124&nbsp;
125<!-- =========== FIELD SUMMARY =========== -->
126
127
128<!-- ======== CONSTRUCTOR SUMMARY ======== -->
129
130<A NAME="constructor_summary"><!-- --></A>
131<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133<TD COLSPAN=2><FONT SIZE="+2">
134<B>Constructor Summary</B></FONT></TD>
135</TR>
136<TR BGCOLOR="white" CLASS="TableRowColor">
137<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/util/CollectionUtils.html#CollectionUtils()">CollectionUtils</A></B>()</CODE>
138
139<BR>
140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
141</TR>
142</TABLE>
143&nbsp;
144<!-- ========== METHOD SUMMARY =========== -->
145
146<A NAME="method_summary"><!-- --></A>
147<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
148<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
149<TD COLSPAN=2><FONT SIZE="+2">
150<B>Method Summary</B></FONT></TD>
151</TR>
152<TR BGCOLOR="white" CLASS="TableRowColor">
153<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154<CODE>static&nbsp;java.util.Enumeration</CODE></FONT></TD>
155<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/util/CollectionUtils.html#append(java.util.Enumeration, java.util.Enumeration)">append</A></B>(java.util.Enumeration&nbsp;e1,
156 java.util.Enumeration&nbsp;e2)</CODE>
157
158<BR>
159&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Append one enumeration to another.</TD>
160</TR>
161<TR BGCOLOR="white" CLASS="TableRowColor">
162<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163<CODE>static&nbsp;boolean</CODE></FONT></TD>
164<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/util/CollectionUtils.html#equals(java.util.Dictionary, java.util.Dictionary)">equals</A></B>(java.util.Dictionary&nbsp;d1,
165 java.util.Dictionary&nbsp;d2)</CODE>
166
167<BR>
168&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172<CODE>static&nbsp;boolean</CODE></FONT></TD>
173<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/util/CollectionUtils.html#equals(java.util.Vector, java.util.Vector)">equals</A></B>(java.util.Vector&nbsp;v1,
174 java.util.Vector&nbsp;v2)</CODE>
175
176<BR>
177&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
178</TR>
179<TR BGCOLOR="white" CLASS="TableRowColor">
180<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181<CODE>static&nbsp;void</CODE></FONT></TD>
182<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/util/CollectionUtils.html#putAll(java.util.Dictionary, java.util.Dictionary)">putAll</A></B>(java.util.Dictionary&nbsp;m1,
183 java.util.Dictionary&nbsp;m2)</CODE>
184
185<BR>
186&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
187</TR>
188</TABLE>
189&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
190<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
191<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
192<TD><B>Methods inherited from class java.lang.Object</B></TD>
193</TR>
194<TR BGCOLOR="white" CLASS="TableRowColor">
195<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
196</TR>
197</TABLE>
198&nbsp;
199<P>
200
201<!-- ============ FIELD DETAIL =========== -->
202
203
204<!-- ========= CONSTRUCTOR DETAIL ======== -->
205
206<A NAME="constructor_detail"><!-- --></A>
207<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
208<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
209<TD COLSPAN=1><FONT SIZE="+2">
210<B>Constructor Detail</B></FONT></TD>
211</TR>
212</TABLE>
213
214<A NAME="CollectionUtils()"><!-- --></A><H3>
215CollectionUtils</H3>
216<PRE>
217public <B>CollectionUtils</B>()</PRE>
218<DL>
219</DL>
220
221<!-- ============ METHOD DETAIL ========== -->
222
223<A NAME="method_detail"><!-- --></A>
224<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
225<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
226<TD COLSPAN=1><FONT SIZE="+2">
227<B>Method Detail</B></FONT></TD>
228</TR>
229</TABLE>
230
231<A NAME="equals(java.util.Vector, java.util.Vector)"><!-- --></A><H3>
232equals</H3>
233<PRE>
234public static boolean <B>equals</B>(java.util.Vector&nbsp;v1,
235 java.util.Vector&nbsp;v2)</PRE>
236<DL>
237<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
238<P>
239<DD>Please use Vector.equals() or List.equals()
240<P>
241<DD><DL>
242<DT><B>Since:</B></DT>
243 <DD>Ant 1.5</DD>
244</DL>
245</DD>
246</DL>
247<HR>
248
249<A NAME="equals(java.util.Dictionary, java.util.Dictionary)"><!-- --></A><H3>
250equals</H3>
251<PRE>
252public static boolean <B>equals</B>(java.util.Dictionary&nbsp;d1,
253 java.util.Dictionary&nbsp;d2)</PRE>
254<DL>
255<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
256<P>
257<DD>Dictionary does not have an equals.
258 Please use Map.equals()
259
260 <p>Follows the equals contract of Java 2's Map.</p>
261<P>
262<DD><DL>
263<DT><B>Since:</B></DT>
264 <DD>Ant 1.5</DD>
265</DL>
266</DD>
267</DL>
268<HR>
269
270<A NAME="putAll(java.util.Dictionary, java.util.Dictionary)"><!-- --></A><H3>
271putAll</H3>
272<PRE>
273public static void <B>putAll</B>(java.util.Dictionary&nbsp;m1,
274 java.util.Dictionary&nbsp;m2)</PRE>
275<DL>
276<DD><B>Deprecated.</B>&nbsp;<I></I>&nbsp;
277<P>
278<DD>Dictionary does not know the putAll method. Please use Map.putAll().
279<P>
280<DD><DL>
281<DT><B>Since:</B></DT>
282 <DD>Ant 1.6</DD>
283</DL>
284</DD>
285</DL>
286<HR>
287
288<A NAME="append(java.util.Enumeration, java.util.Enumeration)"><!-- --></A><H3>
289append</H3>
290<PRE>
291public static java.util.Enumeration <B>append</B>(java.util.Enumeration&nbsp;e1,
292 java.util.Enumeration&nbsp;e2)</PRE>
293<DL>
294<DD>Append one enumeration to another.
295 Elements are evaluated lazily.
296<P>
297<DD><DL>
298<DT><B>Parameters:</B><DD><CODE>e1</CODE> - the first enumeration<DD><CODE>e2</CODE> - the subsequent enumeration
299<DT><B>Returns:</B><DD>an enumeration representing e1 followed by e2<DT><B>Since:</B></DT>
300 <DD>Ant 1.6.3</DD>
301</DL>
302</DD>
303</DL>
304<!-- ========= END OF CLASS DATA ========= -->
305<HR>
306
307
308<!-- ======= START OF BOTTOM NAVBAR ====== -->
309<A NAME="navbar_bottom"><!-- --></A>
310<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
311<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
312<TR>
313<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
314<A NAME="navbar_bottom_firstrow"><!-- --></A>
315<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
316 <TR ALIGN="center" VALIGN="top">
317 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
318 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
319 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
320 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
321 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
322 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
323 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
324 </TR>
325</TABLE>
326</TD>
327<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
328</EM>
329</TD>
330</TR>
331
332<TR>
333<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
334&nbsp;<A HREF="../../../../../org/apache/tools/ant/util/ClasspathUtils.Delegate.html" title="class in org.apache.tools.ant.util"><B>PREV CLASS</B></A>&nbsp;
335&nbsp;<A HREF="../../../../../org/apache/tools/ant/util/CollectionUtils.EmptyEnumeration.html" title="class in org.apache.tools.ant.util"><B>NEXT CLASS</B></A></FONT></TD>
336<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
337 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
338&nbsp;<A HREF="CollectionUtils.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
339&nbsp;<SCRIPT type="text/javascript">
340 <!--
341 if(window==top) {
342 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
343 }
344 //-->
345</SCRIPT>
346<NOSCRIPT>
347 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
348</NOSCRIPT>
349
350</FONT></TD>
351</TR>
352<TR>
353<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
354 SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
355<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
356DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
357</TR>
358</TABLE>
359<A NAME="skip-navbar_bottom"></A>
360<!-- ======== END OF BOTTOM NAVBAR ======= -->
361
362<HR>
363Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
364</BODY>
365</HTML>
Note: See TracBrowser for help on using the repository browser.