1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.5.0_07) on Fri Apr 11 15:39:23 BST 2008 -->
6 <META http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
8 Uses of Interface org.apache.commons.collections.Factory (Commons Collections
3.2.1 API)
12 <LINK REL =
"stylesheet" TYPE=
"text/css" HREF=
"../../../../../stylesheet.css" TITLE=
"Style">
14 <SCRIPT type=
"text/javascript">
15 function windowTitle()
17 parent.document.
title=
"Uses of Interface org.apache.commons.collections.Factory (Commons Collections 3.2.1 API)";
25 <BODY BGCOLOR=
"white" onload=
"windowTitle();">
28 <!-- ========= START OF TOP NAVBAR ======= -->
29 <A NAME=
"navbar_top"><!-- --></A>
30 <A HREF=
"#skip-navbar_top" title=
"Skip navigation links"></A>
31 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0" SUMMARY=
"">
33 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
34 <A NAME=
"navbar_top_firstrow"><!-- --></A>
35 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3" SUMMARY=
"">
36 <TR ALIGN=
"center" VALIGN=
"top">
37 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
38 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
39 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections"><FONT CLASS=
"NavBarFont1"><B>Class
</B></FONT></A> </TD>
40 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Use
</B></FONT> </TD>
41 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
42 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
43 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
44 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
48 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
54 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
56 NEXT
</FONT></TD>
57 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
58 <A HREF=
"../../../../../index.html?org/apache/commons/collections/\class-useFactory.html" target=
"_top"><B>FRAMES
</B></A>
59 <A HREF=
"Factory.html" target=
"_top"><B>NO FRAMES
</B></A>
60 <SCRIPT type=
"text/javascript">
63 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
68 <A HREF=
"../../../../../allclasses-noframe.html"><B>All Classes
</B></A>
75 <A NAME=
"skip-navbar_top"></A>
76 <!-- ========= END OF TOP NAVBAR ========= -->
81 <B>Uses of Interface
<br>org.apache.commons.collections.Factory
</B></H2>
84 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
85 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
86 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
87 Packages that use
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
89 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
90 <TD><A HREF=
"#org.apache.commons.collections"><B>org.apache.commons.collections
</B></A></TD>
92 This package contains the interfaces and utilities shared across all the subpackages of this component.
</TD>
94 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
95 <TD><A HREF=
"#org.apache.commons.collections.functors"><B>org.apache.commons.collections.functors
</B></A></TD>
97 This package contains implementations of the
98 <A HREF=
"../../../../../org/apache/commons/collections/Closure.html" title=
"interface in org.apache.commons.collections"><CODE>Closure
</CODE></A>,
99 <A HREF=
"../../../../../org/apache/commons/collections/Predicate.html" title=
"interface in org.apache.commons.collections"><CODE>Predicate
</CODE></A>,
100 <A HREF=
"../../../../../org/apache/commons/collections/Transformer.html" title=
"interface in org.apache.commons.collections"><CODE>Transformer
</CODE></A> and
101 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections"><CODE>Factory
</CODE></A> interfaces.
</TD>
103 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
104 <TD><A HREF=
"#org.apache.commons.collections.list"><B>org.apache.commons.collections.list
</B></A></TD>
106 This package contains implementations of the
107 <CODE>List
</CODE> interface.
</TD>
109 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
110 <TD><A HREF=
"#org.apache.commons.collections.map"><B>org.apache.commons.collections.map
</B></A></TD>
112 This package contains implementations of the
114 <A HREF=
"../../../../../org/apache/commons/collections/IterableMap.html" title=
"interface in org.apache.commons.collections"><CODE>IterableMap
</CODE></A>,
115 <A HREF=
"../../../../../org/apache/commons/collections/OrderedMap.html" title=
"interface in org.apache.commons.collections"><CODE>OrderedMap
</CODE></A> and
116 <CODE>SortedMap
</CODE> interfaces.
</TD>
121 <A NAME=
"org.apache.commons.collections"><!-- --></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 Uses of
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> in
<A HREF=
"../../../../../org/apache/commons/collections/package-summary.html">org.apache.commons.collections
</A></FONT></TH>
131 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
132 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
133 <TH ALIGN=
"left" COLSPAN=
"2">Methods in
<A HREF=
"../../../../../org/apache/commons/collections/package-summary.html">org.apache.commons.collections
</A> that return
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
135 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
136 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
137 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
138 <TD><CODE><B>FactoryUtils.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/FactoryUtils.html#constantFactory(java.lang.Object)">constantFactory
</A></B>(java.lang.Object
constantToReturn)
</CODE>
141 Creates a Factory that will return the same object each time the factory
144 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
145 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
146 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
147 <TD><CODE><B>FactoryUtils.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/FactoryUtils.html#exceptionFactory()">exceptionFactory
</A></B>()
</CODE>
150 Gets a Factory that always throws an exception.
</TD>
152 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
153 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
154 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
155 <TD><CODE><B>FactoryUtils.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/FactoryUtils.html#instantiateFactory(java.lang.Class)">instantiateFactory
</A></B>(java.lang.Class
classToInstantiate)
</CODE>
158 Creates a Factory that can create objects of a specific type using
159 a no-args constructor.
</TD>
161 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
162 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
163 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
164 <TD><CODE><B>FactoryUtils.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/FactoryUtils.html#instantiateFactory(java.lang.Class, java.lang.Class[], java.lang.Object[])">instantiateFactory
</A></B>(java.lang.Class
classToInstantiate,
165 java.lang.Class[]
paramTypes,
166 java.lang.Object[]
args)
</CODE>
169 Creates a Factory that can create objects of a specific type using
170 the arguments specified to this method.
</TD>
172 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
173 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
174 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
175 <TD><CODE><B>FactoryUtils.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/FactoryUtils.html#nullFactory()">nullFactory
</A></B>()
</CODE>
178 Gets a Factory that will return null each time the factory is used.
</TD>
180 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
181 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
182 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
183 <TD><CODE><B>FactoryUtils.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/FactoryUtils.html#prototypeFactory(java.lang.Object)">prototypeFactory
</A></B>(java.lang.Object
prototype)
</CODE>
186 Creates a Factory that will return a clone of the same prototype object
187 each time the factory is used.
</TD>
193 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
194 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
195 <TH ALIGN=
"left" COLSPAN=
"2">Methods in
<A HREF=
"../../../../../org/apache/commons/collections/package-summary.html">org.apache.commons.collections
</A> with parameters of type
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
197 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
198 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
199 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Transformer.html" title=
"interface in org.apache.commons.collections">Transformer
</A></CODE></FONT></TD>
200 <TD><CODE><B>TransformerUtils.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/TransformerUtils.html#asTransformer(org.apache.commons.collections.Factory)">asTransformer
</A></B>(
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
203 Creates a Transformer that calls a Factory each time the transformer is used.
</TD>
205 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
206 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
207 <CODE>static
java.util.List
</CODE></FONT></TD>
208 <TD><CODE><B>ListUtils.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/ListUtils.html#lazyList(java.util.List, org.apache.commons.collections.Factory)">lazyList
</A></B>(java.util.List
list,
209 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
212 Returns a
"lazy" list whose elements will be created on demand.
</TD>
214 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
215 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
216 <CODE>static
java.util.Map
</CODE></FONT></TD>
217 <TD><CODE><B>MapUtils.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/MapUtils.html#lazyMap(java.util.Map, org.apache.commons.collections.Factory)">lazyMap
</A></B>(java.util.Map
map,
218 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
221 Returns a
"lazy" map whose values will be created on demand.
</TD>
223 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
224 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
225 <CODE>static
java.util.SortedMap
</CODE></FONT></TD>
226 <TD><CODE><B>MapUtils.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/MapUtils.html#lazySortedMap(java.util.SortedMap, org.apache.commons.collections.Factory)">lazySortedMap
</A></B>(java.util.SortedMap
map,
227 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
230 Returns a
"lazy" sorted map whose values will be created on demand.
</TD>
232 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
233 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
234 <CODE>static
java.util.Map
</CODE></FONT></TD>
235 <TD><CODE><B>MapUtils.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/MapUtils.html#multiValueMap(java.util.Map, org.apache.commons.collections.Factory)">multiValueMap
</A></B>(java.util.Map
map,
236 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> collectionFactory)
</CODE>
239 Creates a multi-value map backed by the given map which returns
240 collections created by the specified collection factory.
</TD>
245 <A NAME=
"org.apache.commons.collections.functors"><!-- --></A>
246 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
247 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
248 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
249 Uses of
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> in
<A HREF=
"../../../../../org/apache/commons/collections/functors/package-summary.html">org.apache.commons.collections.functors
</A></FONT></TH>
255 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
256 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
257 <TH ALIGN=
"left" COLSPAN=
"2">Classes in
<A HREF=
"../../../../../org/apache/commons/collections/functors/package-summary.html">org.apache.commons.collections.functors
</A> that implement
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
259 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
260 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
261 <CODE> class
</CODE></FONT></TD>
262 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/collections/functors/ConstantFactory.html" title=
"class in org.apache.commons.collections.functors">ConstantFactory
</A></B></CODE>
265 Factory implementation that returns the same constant each time.
</TD>
267 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
268 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
269 <CODE> class
</CODE></FONT></TD>
270 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/collections/functors/ExceptionFactory.html" title=
"class in org.apache.commons.collections.functors">ExceptionFactory
</A></B></CODE>
273 Factory implementation that always throws an exception.
</TD>
275 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
276 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
277 <CODE> class
</CODE></FONT></TD>
278 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/collections/functors/InstantiateFactory.html" title=
"class in org.apache.commons.collections.functors">InstantiateFactory
</A></B></CODE>
281 Factory implementation that creates a new object instance by reflection.
</TD>
287 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
288 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
289 <TH ALIGN=
"left" COLSPAN=
"2">Fields in
<A HREF=
"../../../../../org/apache/commons/collections/functors/package-summary.html">org.apache.commons.collections.functors
</A> declared as
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
291 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
292 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
293 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
294 <TD><CODE><B>ExceptionFactory.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/functors/ExceptionFactory.html#INSTANCE">INSTANCE
</A></B></CODE>
297 Singleton predicate instance
</TD>
299 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
300 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
301 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
302 <TD><CODE><B>ConstantFactory.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/functors/ConstantFactory.html#NULL_INSTANCE">NULL_INSTANCE
</A></B></CODE>
305 Returns null each time
</TD>
311 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
312 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
313 <TH ALIGN=
"left" COLSPAN=
"2">Methods in
<A HREF=
"../../../../../org/apache/commons/collections/functors/package-summary.html">org.apache.commons.collections.functors
</A> that return
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
315 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
316 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
317 <CODE> <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
318 <TD><CODE><B>FactoryTransformer.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/functors/FactoryTransformer.html#getFactory()">getFactory
</A></B>()
</CODE>
321 Gets the factory.
</TD>
323 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
324 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
325 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
326 <TD><CODE><B>ExceptionFactory.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/functors/ExceptionFactory.html#getInstance()">getInstance
</A></B>()
</CODE>
329 Factory returning the singleton instance.
</TD>
331 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
332 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
333 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
334 <TD><CODE><B>InstantiateFactory.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/functors/InstantiateFactory.html#getInstance(java.lang.Class, java.lang.Class[], java.lang.Object[])">getInstance
</A></B>(java.lang.Class
classToInstantiate,
335 java.lang.Class[]
paramTypes,
336 java.lang.Object[]
args)
</CODE>
339 Factory method that performs validation.
</TD>
341 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
342 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
343 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
344 <TD><CODE><B>PrototypeFactory.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/functors/PrototypeFactory.html#getInstance(java.lang.Object)">getInstance
</A></B>(java.lang.Object
prototype)
</CODE>
347 Factory method that performs validation.
</TD>
349 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
350 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
351 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
352 <TD><CODE><B>ConstantFactory.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/functors/ConstantFactory.html#getInstance(java.lang.Object)">getInstance
</A></B>(java.lang.Object
constantToReturn)
</CODE>
355 Factory method that performs validation.
</TD>
361 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
362 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
363 <TH ALIGN=
"left" COLSPAN=
"2">Methods in
<A HREF=
"../../../../../org/apache/commons/collections/functors/package-summary.html">org.apache.commons.collections.functors
</A> with parameters of type
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
365 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
366 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
367 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/Transformer.html" title=
"interface in org.apache.commons.collections">Transformer
</A></CODE></FONT></TD>
368 <TD><CODE><B>FactoryTransformer.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/functors/FactoryTransformer.html#getInstance(org.apache.commons.collections.Factory)">getInstance
</A></B>(
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
371 Factory method that performs validation.
</TD>
377 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
378 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
379 <TH ALIGN=
"left" COLSPAN=
"2">Constructors in
<A HREF=
"../../../../../org/apache/commons/collections/functors/package-summary.html">org.apache.commons.collections.functors
</A> with parameters of type
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
381 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
382 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/collections/functors/FactoryTransformer.html#FactoryTransformer(org.apache.commons.collections.Factory)">FactoryTransformer
</A></B>(
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
385 Constructor that performs no validation.
</TD>
390 <A NAME=
"org.apache.commons.collections.list"><!-- --></A>
391 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
392 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
393 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
394 Uses of
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> in
<A HREF=
"../../../../../org/apache/commons/collections/list/package-summary.html">org.apache.commons.collections.list
</A></FONT></TH>
400 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
401 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
402 <TH ALIGN=
"left" COLSPAN=
"2">Fields in
<A HREF=
"../../../../../org/apache/commons/collections/list/package-summary.html">org.apache.commons.collections.list
</A> declared as
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
404 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
405 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
406 <CODE>protected
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></CODE></FONT></TD>
407 <TD><CODE><B>LazyList.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/list/LazyList.html#factory">factory
</A></B></CODE>
410 The factory to use to lazily instantiate the objects
</TD>
416 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
417 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
418 <TH ALIGN=
"left" COLSPAN=
"2">Methods in
<A HREF=
"../../../../../org/apache/commons/collections/list/package-summary.html">org.apache.commons.collections.list
</A> with parameters of type
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
420 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
421 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
422 <CODE>static
java.util.List
</CODE></FONT></TD>
423 <TD><CODE><B>LazyList.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/list/LazyList.html#decorate(java.util.List, org.apache.commons.collections.Factory)">decorate
</A></B>(java.util.List
list,
424 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
427 Factory method to create a lazily instantiating list.
</TD>
433 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
434 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
435 <TH ALIGN=
"left" COLSPAN=
"2">Constructors in
<A HREF=
"../../../../../org/apache/commons/collections/list/package-summary.html">org.apache.commons.collections.list
</A> with parameters of type
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
437 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
438 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/collections/list/LazyList.html#LazyList(java.util.List, org.apache.commons.collections.Factory)">LazyList
</A></B>(java.util.List
list,
439 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
442 Constructor that wraps (not copies).
</TD>
447 <A NAME=
"org.apache.commons.collections.map"><!-- --></A>
448 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
449 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
450 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
451 Uses of
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> in
<A HREF=
"../../../../../org/apache/commons/collections/map/package-summary.html">org.apache.commons.collections.map
</A></FONT></TH>
457 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
458 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
459 <TH ALIGN=
"left" COLSPAN=
"2">Methods in
<A HREF=
"../../../../../org/apache/commons/collections/map/package-summary.html">org.apache.commons.collections.map
</A> with parameters of type
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
461 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
462 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
463 <CODE>static
<A HREF=
"../../../../../org/apache/commons/collections/map/MultiValueMap.html" title=
"class in org.apache.commons.collections.map">MultiValueMap
</A></CODE></FONT></TD>
464 <TD><CODE><B>MultiValueMap.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/map/MultiValueMap.html#decorate(java.util.Map, org.apache.commons.collections.Factory)">decorate
</A></B>(java.util.Map
map,
465 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> collectionFactory)
</CODE>
468 Creates a map which decorates the given
<code>map
</code> and
469 creates the value collections using the supplied
<code>collectionFactory
</code>.
</TD>
471 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
472 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
473 <CODE>static
java.util.Map
</CODE></FONT></TD>
474 <TD><CODE><B>LazyMap.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/map/LazyMap.html#decorate(java.util.Map, org.apache.commons.collections.Factory)">decorate
</A></B>(java.util.Map
map,
475 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
478 Factory method to create a lazily instantiated map.
</TD>
480 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
481 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
482 <CODE>static
java.util.Map
</CODE></FONT></TD>
483 <TD><CODE><B>DefaultedMap.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/map/DefaultedMap.html#decorate(java.util.Map, org.apache.commons.collections.Factory)">decorate
</A></B>(java.util.Map
map,
484 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
487 Factory method to create a defaulting map.
</TD>
489 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
490 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
491 <CODE>static
java.util.SortedMap
</CODE></FONT></TD>
492 <TD><CODE><B>LazySortedMap.
</B><B><A HREF=
"../../../../../org/apache/commons/collections/map/LazySortedMap.html#decorate(java.util.SortedMap, org.apache.commons.collections.Factory)">decorate
</A></B>(java.util.SortedMap
map,
493 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
496 Factory method to create a lazily instantiated sorted map.
</TD>
502 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
503 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableSubHeadingColor">
504 <TH ALIGN=
"left" COLSPAN=
"2">Constructors in
<A HREF=
"../../../../../org/apache/commons/collections/map/package-summary.html">org.apache.commons.collections.map
</A> with parameters of type
<A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A></FONT></TH>
506 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
507 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/collections/map/LazyMap.html#LazyMap(java.util.Map, org.apache.commons.collections.Factory)">LazyMap
</A></B>(java.util.Map
map,
508 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
511 Constructor that wraps (not copies).
</TD>
513 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
514 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/collections/map/LazySortedMap.html#LazySortedMap(java.util.SortedMap, org.apache.commons.collections.Factory)">LazySortedMap
</A></B>(java.util.SortedMap
map,
515 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> factory)
</CODE>
518 Constructor that wraps (not copies).
</TD>
520 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
521 <TD><CODE><B><A HREF=
"../../../../../org/apache/commons/collections/map/MultiValueMap.html#MultiValueMap(java.util.Map, org.apache.commons.collections.Factory)">MultiValueMap
</A></B>(java.util.Map
map,
522 <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections">Factory
</A> collectionFactory)
</CODE>
525 Creates a MultiValueMap which decorates the given
<code>map
</code> and
526 creates the value collections using the supplied
<code>collectionFactory
</code>.
</TD>
534 <!-- ======= START OF BOTTOM NAVBAR ====== -->
535 <A NAME=
"navbar_bottom"><!-- --></A>
536 <A HREF=
"#skip-navbar_bottom" title=
"Skip navigation links"></A>
537 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0" SUMMARY=
"">
539 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
540 <A NAME=
"navbar_bottom_firstrow"><!-- --></A>
541 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3" SUMMARY=
"">
542 <TR ALIGN=
"center" VALIGN=
"top">
543 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
544 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
545 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../org/apache/commons/collections/Factory.html" title=
"interface in org.apache.commons.collections"><FONT CLASS=
"NavBarFont1"><B>Class
</B></FONT></A> </TD>
546 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Use
</B></FONT> </TD>
547 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
548 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
549 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
550 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
554 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
560 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
562 NEXT
</FONT></TD>
563 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
564 <A HREF=
"../../../../../index.html?org/apache/commons/collections/\class-useFactory.html" target=
"_top"><B>FRAMES
</B></A>
565 <A HREF=
"Factory.html" target=
"_top"><B>NO FRAMES
</B></A>
566 <SCRIPT type=
"text/javascript">
569 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
574 <A HREF=
"../../../../../allclasses-noframe.html"><B>All Classes
</B></A>
581 <A NAME=
"skip-navbar_bottom"></A>
582 <!-- ======== END OF BOTTOM NAVBAR ======= -->
585 Copyright ©
2001-
2008 <a href=
"http://www.apache.org/">The Apache Software Foundation
</a>. All Rights Reserved.