a whole bunch of stuff
[ephemerata.git] / KezvhLib / lib / org.apache.commons.collections / apidocs / org / apache / commons / collections / MapUtils.html
blob480d6bd40eb401f11493a155094d25f4d37b10b0
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.5.0_07) on Fri Apr 11 15:39:17 BST 2008 -->
6 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7 <TITLE>
8 MapUtils (Commons Collections 3.2.1 API)
9 </TITLE>
11 <META NAME="keywords" CONTENT="org.apache.commons.collections.MapUtils class">
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
15 <SCRIPT type="text/javascript">
16 function windowTitle()
18 parent.document.title="MapUtils (Commons Collections 3.2.1 API)";
20 </SCRIPT>
21 <NOSCRIPT>
22 </NOSCRIPT>
24 </HEAD>
26 <BODY BGCOLOR="white" onload="windowTitle();">
29 <!-- ========= START OF TOP NAVBAR ======= -->
30 <A NAME="navbar_top"><!-- --></A>
31 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
32 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
33 <TR>
34 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
35 <A NAME="navbar_top_firstrow"><!-- --></A>
36 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
37 <TR ALIGN="center" VALIGN="top">
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MapUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46 </TR>
47 </TABLE>
48 </TD>
49 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50 </EM>
51 </TD>
52 </TR>
54 <TR>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 &nbsp;<A HREF="../../../../org/apache/commons/collections/MapIterator.html" title="interface in org.apache.commons.collections"><B>PREV CLASS</B></A>&nbsp;
57 &nbsp;<A HREF="../../../../org/apache/commons/collections/MultiHashMap.html" title="class in org.apache.commons.collections"><B>NEXT CLASS</B></A></FONT></TD>
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59 <A HREF="../../../../index.html?org/apache/commons/collections/MapUtils.html" target="_top"><B>FRAMES</B></A> &nbsp;
60 &nbsp;<A HREF="MapUtils.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
61 &nbsp;<SCRIPT type="text/javascript">
62 <!--
63 if(window==top) {
64 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
66 //-->
67 </SCRIPT>
68 <NOSCRIPT>
69 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
70 </NOSCRIPT>
73 </FONT></TD>
74 </TR>
75 <TR>
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77 SUMMARY:&nbsp;NESTED&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>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 DETAIL:&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>
80 </TR>
81 </TABLE>
82 <A NAME="skip-navbar_top"></A>
83 <!-- ========= END OF TOP NAVBAR ========= -->
85 <HR>
86 <!-- ======== START OF CLASS DATA ======== -->
87 <H2>
88 <FONT SIZE="-1">
89 org.apache.commons.collections</FONT>
90 <BR>
91 Class MapUtils</H2>
92 <PRE>
93 java.lang.Object
94 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.collections.MapUtils</B>
95 </PRE>
96 <HR>
97 <DL>
98 <DT><PRE>public class <B>MapUtils</B><DT>extends java.lang.Object</DL>
99 </PRE>
102 Provides utility methods and decorators for
103 <CODE>Map</CODE> and <CODE>SortedMap</CODE> instances.
105 It contains various type safe methods
106 as well as other useful features like deep copying.
108 It also provides the following decorators:
110 <ul>
111 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#fixedSizeMap(java.util.Map)"><CODE>fixedSizeMap(Map)</CODE></A>
112 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#fixedSizeSortedMap(java.util.SortedMap)"><CODE>fixedSizeSortedMap(SortedMap)</CODE></A>
113 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#lazyMap(java.util.Map, org.apache.commons.collections.Factory)"><CODE>lazyMap(Map,Factory)</CODE></A>
114 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#lazyMap(java.util.Map, org.apache.commons.collections.Transformer)"><CODE>lazyMap(Map,Transformer)</CODE></A>
115 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#lazySortedMap(java.util.SortedMap, org.apache.commons.collections.Factory)"><CODE>lazySortedMap(SortedMap,Factory)</CODE></A>
116 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#lazySortedMap(java.util.SortedMap, org.apache.commons.collections.Transformer)"><CODE>lazySortedMap(SortedMap,Transformer)</CODE></A>
117 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#predicatedMap(java.util.Map, org.apache.commons.collections.Predicate, org.apache.commons.collections.Predicate)"><CODE>predicatedMap(Map,Predicate,Predicate)</CODE></A>
118 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#predicatedSortedMap(java.util.SortedMap, org.apache.commons.collections.Predicate, org.apache.commons.collections.Predicate)"><CODE>predicatedSortedMap(SortedMap,Predicate,Predicate)</CODE></A>
119 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#transformedMap(java.util.Map, org.apache.commons.collections.Transformer, org.apache.commons.collections.Transformer)"><CODE>transformedMap(Map, Transformer, Transformer)</CODE></A>
120 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#transformedSortedMap(java.util.SortedMap, org.apache.commons.collections.Transformer, org.apache.commons.collections.Transformer)"><CODE>transformedSortedMap(SortedMap, Transformer, Transformer)</CODE></A>
121 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#typedMap(java.util.Map, java.lang.Class, java.lang.Class)"><CODE>typedMap(Map, Class, Class)</CODE></A>
122 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#typedSortedMap(java.util.SortedMap, java.lang.Class, java.lang.Class)"><CODE>typedSortedMap(SortedMap, Class, Class)</CODE></A>
123 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#multiValueMap(java.util.Map)"><CODE>multiValueMap( Map )</CODE></A>
124 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#multiValueMap(java.util.Map, java.lang.Class)"><CODE>multiValueMap( Map, Class )</CODE></A>
125 <li><A HREF="../../../../org/apache/commons/collections/MapUtils.html#multiValueMap(java.util.Map, org.apache.commons.collections.Factory)"><CODE>multiValueMap( Map, Factory )</CODE></A>
126 </ul>
130 <DL>
131 <DT><B>Since:</B></DT>
132 <DD>Commons Collections 1.0</DD>
133 <DT><B>Version:</B></DT>
134 <DD>$Revision: 646777 $ $Date: 2008-04-10 13:33:15 +0100 (Thu, 10 Apr 2008) $</DD>
135 <DT><B>Author:</B></DT>
136 <DD><a href="mailto:jstrachan@apache.org">James Strachan</a>, <a href="mailto:nissim@nksystems.com">Nissim Karpenstein</a>, <a href="mailto:knielsen@apache.org">Kasper Nielsen</a>, Paul Jack, Stephen Colebourne, Matthew Hawthorne, Arun Mammen Thomas, Janek Bogucki, Max Rydahl Andersen, <a href="mailto:equinus100@hotmail.com">Ashwin S</a>, <a href="mailto:jcarman@apache.org">James Carman</a>, Neil O'Toole</DD>
137 </DL>
138 <HR>
141 <!-- =========== FIELD SUMMARY =========== -->
143 <A NAME="field_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>Field 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;java.util.Map</CODE></FONT></TD>
152 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#EMPTY_MAP">EMPTY_MAP</A></B></CODE>
154 <BR>
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An empty unmodifiable map.</TD>
156 </TR>
157 <TR BGCOLOR="white" CLASS="TableRowColor">
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159 <CODE>static&nbsp;java.util.SortedMap</CODE></FONT></TD>
160 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#EMPTY_SORTED_MAP">EMPTY_SORTED_MAP</A></B></CODE>
162 <BR>
163 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An empty unmodifiable sorted map.</TD>
164 </TR>
165 </TABLE>
166 &nbsp;
167 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
169 <A NAME="constructor_summary"><!-- --></A>
170 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
171 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
172 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
173 <B>Constructor Summary</B></FONT></TH>
174 </TR>
175 <TR BGCOLOR="white" CLASS="TableRowColor">
176 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#MapUtils()">MapUtils</A></B>()</CODE>
178 <BR>
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>MapUtils</code> should not normally be instantiated.</TD>
180 </TR>
181 </TABLE>
182 &nbsp;
183 <!-- ========== METHOD SUMMARY =========== -->
185 <A NAME="method_summary"><!-- --></A>
186 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
187 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
188 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
189 <B>Method Summary</B></FONT></TH>
190 </TR>
191 <TR BGCOLOR="white" CLASS="TableRowColor">
192 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193 <CODE>static&nbsp;void</CODE></FONT></TD>
194 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#debugPrint(java.io.PrintStream, java.lang.Object, java.util.Map)">debugPrint</A></B>(java.io.PrintStream&nbsp;out,
195 java.lang.Object&nbsp;label,
196 java.util.Map&nbsp;map)</CODE>
198 <BR>
199 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the given map with nice line breaks.</TD>
200 </TR>
201 <TR BGCOLOR="white" CLASS="TableRowColor">
202 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
204 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#fixedSizeMap(java.util.Map)">fixedSizeMap</A></B>(java.util.Map&nbsp;map)</CODE>
206 <BR>
207 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a fixed-sized map backed by the given map.</TD>
208 </TR>
209 <TR BGCOLOR="white" CLASS="TableRowColor">
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211 <CODE>static&nbsp;java.util.SortedMap</CODE></FONT></TD>
212 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#fixedSizeSortedMap(java.util.SortedMap)">fixedSizeSortedMap</A></B>(java.util.SortedMap&nbsp;map)</CODE>
214 <BR>
215 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a fixed-sized sorted map backed by the given sorted map.</TD>
216 </TR>
217 <TR BGCOLOR="white" CLASS="TableRowColor">
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219 <CODE>static&nbsp;java.lang.Boolean</CODE></FONT></TD>
220 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getBoolean(java.util.Map, java.lang.Object)">getBoolean</A></B>(java.util.Map&nbsp;map,
221 java.lang.Object&nbsp;key)</CODE>
223 <BR>
224 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a Boolean from a Map in a null-safe manner.</TD>
225 </TR>
226 <TR BGCOLOR="white" CLASS="TableRowColor">
227 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228 <CODE>static&nbsp;java.lang.Boolean</CODE></FONT></TD>
229 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getBoolean(java.util.Map, java.lang.Object, java.lang.Boolean)">getBoolean</A></B>(java.util.Map&nbsp;map,
230 java.lang.Object&nbsp;key,
231 java.lang.Boolean&nbsp;defaultValue)</CODE>
233 <BR>
234 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up the given key in the given map, converting the result into
235 a boolean, using the default value if the the conversion fails.</TD>
236 </TR>
237 <TR BGCOLOR="white" CLASS="TableRowColor">
238 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239 <CODE>static&nbsp;boolean</CODE></FONT></TD>
240 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getBooleanValue(java.util.Map, java.lang.Object)">getBooleanValue</A></B>(java.util.Map&nbsp;map,
241 java.lang.Object&nbsp;key)</CODE>
243 <BR>
244 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a boolean from a Map in a null-safe manner.</TD>
245 </TR>
246 <TR BGCOLOR="white" CLASS="TableRowColor">
247 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
248 <CODE>static&nbsp;boolean</CODE></FONT></TD>
249 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getBooleanValue(java.util.Map, java.lang.Object, boolean)">getBooleanValue</A></B>(java.util.Map&nbsp;map,
250 java.lang.Object&nbsp;key,
251 boolean&nbsp;defaultValue)</CODE>
253 <BR>
254 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a boolean from a Map in a null-safe manner,
255 using the default value if the the conversion fails.</TD>
256 </TR>
257 <TR BGCOLOR="white" CLASS="TableRowColor">
258 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259 <CODE>static&nbsp;java.lang.Byte</CODE></FONT></TD>
260 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getByte(java.util.Map, java.lang.Object)">getByte</A></B>(java.util.Map&nbsp;map,
261 java.lang.Object&nbsp;key)</CODE>
263 <BR>
264 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a Byte from a Map in a null-safe manner.</TD>
265 </TR>
266 <TR BGCOLOR="white" CLASS="TableRowColor">
267 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
268 <CODE>static&nbsp;java.lang.Byte</CODE></FONT></TD>
269 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getByte(java.util.Map, java.lang.Object, java.lang.Byte)">getByte</A></B>(java.util.Map&nbsp;map,
270 java.lang.Object&nbsp;key,
271 java.lang.Byte&nbsp;defaultValue)</CODE>
273 <BR>
274 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up the given key in the given map, converting the result into
275 a byte, using the default value if the the conversion fails.</TD>
276 </TR>
277 <TR BGCOLOR="white" CLASS="TableRowColor">
278 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
279 <CODE>static&nbsp;byte</CODE></FONT></TD>
280 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getByteValue(java.util.Map, java.lang.Object)">getByteValue</A></B>(java.util.Map&nbsp;map,
281 java.lang.Object&nbsp;key)</CODE>
283 <BR>
284 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a byte from a Map in a null-safe manner.</TD>
285 </TR>
286 <TR BGCOLOR="white" CLASS="TableRowColor">
287 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
288 <CODE>static&nbsp;byte</CODE></FONT></TD>
289 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getByteValue(java.util.Map, java.lang.Object, byte)">getByteValue</A></B>(java.util.Map&nbsp;map,
290 java.lang.Object&nbsp;key,
291 byte&nbsp;defaultValue)</CODE>
293 <BR>
294 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a byte from a Map in a null-safe manner,
295 using the default value if the the conversion fails.</TD>
296 </TR>
297 <TR BGCOLOR="white" CLASS="TableRowColor">
298 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
299 <CODE>static&nbsp;java.lang.Double</CODE></FONT></TD>
300 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getDouble(java.util.Map, java.lang.Object)">getDouble</A></B>(java.util.Map&nbsp;map,
301 java.lang.Object&nbsp;key)</CODE>
303 <BR>
304 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a Double from a Map in a null-safe manner.</TD>
305 </TR>
306 <TR BGCOLOR="white" CLASS="TableRowColor">
307 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
308 <CODE>static&nbsp;java.lang.Double</CODE></FONT></TD>
309 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getDouble(java.util.Map, java.lang.Object, java.lang.Double)">getDouble</A></B>(java.util.Map&nbsp;map,
310 java.lang.Object&nbsp;key,
311 java.lang.Double&nbsp;defaultValue)</CODE>
313 <BR>
314 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up the given key in the given map, converting the result into
315 a double, using the default value if the the conversion fails.</TD>
316 </TR>
317 <TR BGCOLOR="white" CLASS="TableRowColor">
318 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
319 <CODE>static&nbsp;double</CODE></FONT></TD>
320 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getDoubleValue(java.util.Map, java.lang.Object)">getDoubleValue</A></B>(java.util.Map&nbsp;map,
321 java.lang.Object&nbsp;key)</CODE>
323 <BR>
324 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a double from a Map in a null-safe manner.</TD>
325 </TR>
326 <TR BGCOLOR="white" CLASS="TableRowColor">
327 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
328 <CODE>static&nbsp;double</CODE></FONT></TD>
329 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getDoubleValue(java.util.Map, java.lang.Object, double)">getDoubleValue</A></B>(java.util.Map&nbsp;map,
330 java.lang.Object&nbsp;key,
331 double&nbsp;defaultValue)</CODE>
333 <BR>
334 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a double from a Map in a null-safe manner,
335 using the default value if the the conversion fails.</TD>
336 </TR>
337 <TR BGCOLOR="white" CLASS="TableRowColor">
338 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
339 <CODE>static&nbsp;java.lang.Float</CODE></FONT></TD>
340 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getFloat(java.util.Map, java.lang.Object)">getFloat</A></B>(java.util.Map&nbsp;map,
341 java.lang.Object&nbsp;key)</CODE>
343 <BR>
344 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a Float from a Map in a null-safe manner.</TD>
345 </TR>
346 <TR BGCOLOR="white" CLASS="TableRowColor">
347 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
348 <CODE>static&nbsp;java.lang.Float</CODE></FONT></TD>
349 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getFloat(java.util.Map, java.lang.Object, java.lang.Float)">getFloat</A></B>(java.util.Map&nbsp;map,
350 java.lang.Object&nbsp;key,
351 java.lang.Float&nbsp;defaultValue)</CODE>
353 <BR>
354 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up the given key in the given map, converting the result into
355 a float, using the default value if the the conversion fails.</TD>
356 </TR>
357 <TR BGCOLOR="white" CLASS="TableRowColor">
358 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
359 <CODE>static&nbsp;float</CODE></FONT></TD>
360 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getFloatValue(java.util.Map, java.lang.Object)">getFloatValue</A></B>(java.util.Map&nbsp;map,
361 java.lang.Object&nbsp;key)</CODE>
363 <BR>
364 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a float from a Map in a null-safe manner.</TD>
365 </TR>
366 <TR BGCOLOR="white" CLASS="TableRowColor">
367 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
368 <CODE>static&nbsp;float</CODE></FONT></TD>
369 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getFloatValue(java.util.Map, java.lang.Object, float)">getFloatValue</A></B>(java.util.Map&nbsp;map,
370 java.lang.Object&nbsp;key,
371 float&nbsp;defaultValue)</CODE>
373 <BR>
374 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a float from a Map in a null-safe manner,
375 using the default value if the the conversion fails.</TD>
376 </TR>
377 <TR BGCOLOR="white" CLASS="TableRowColor">
378 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
379 <CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD>
380 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getInteger(java.util.Map, java.lang.Object)">getInteger</A></B>(java.util.Map&nbsp;map,
381 java.lang.Object&nbsp;key)</CODE>
383 <BR>
384 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a Integer from a Map in a null-safe manner.</TD>
385 </TR>
386 <TR BGCOLOR="white" CLASS="TableRowColor">
387 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
388 <CODE>static&nbsp;java.lang.Integer</CODE></FONT></TD>
389 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getInteger(java.util.Map, java.lang.Object, java.lang.Integer)">getInteger</A></B>(java.util.Map&nbsp;map,
390 java.lang.Object&nbsp;key,
391 java.lang.Integer&nbsp;defaultValue)</CODE>
393 <BR>
394 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up the given key in the given map, converting the result into
395 an integer, using the default value if the the conversion fails.</TD>
396 </TR>
397 <TR BGCOLOR="white" CLASS="TableRowColor">
398 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
399 <CODE>static&nbsp;int</CODE></FONT></TD>
400 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getIntValue(java.util.Map, java.lang.Object)">getIntValue</A></B>(java.util.Map&nbsp;map,
401 java.lang.Object&nbsp;key)</CODE>
403 <BR>
404 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets an int from a Map in a null-safe manner.</TD>
405 </TR>
406 <TR BGCOLOR="white" CLASS="TableRowColor">
407 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
408 <CODE>static&nbsp;int</CODE></FONT></TD>
409 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getIntValue(java.util.Map, java.lang.Object, int)">getIntValue</A></B>(java.util.Map&nbsp;map,
410 java.lang.Object&nbsp;key,
411 int&nbsp;defaultValue)</CODE>
413 <BR>
414 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets an int from a Map in a null-safe manner,
415 using the default value if the the conversion fails.</TD>
416 </TR>
417 <TR BGCOLOR="white" CLASS="TableRowColor">
418 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
419 <CODE>static&nbsp;java.lang.Long</CODE></FONT></TD>
420 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getLong(java.util.Map, java.lang.Object)">getLong</A></B>(java.util.Map&nbsp;map,
421 java.lang.Object&nbsp;key)</CODE>
423 <BR>
424 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a Long from a Map in a null-safe manner.</TD>
425 </TR>
426 <TR BGCOLOR="white" CLASS="TableRowColor">
427 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
428 <CODE>static&nbsp;java.lang.Long</CODE></FONT></TD>
429 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getLong(java.util.Map, java.lang.Object, java.lang.Long)">getLong</A></B>(java.util.Map&nbsp;map,
430 java.lang.Object&nbsp;key,
431 java.lang.Long&nbsp;defaultValue)</CODE>
433 <BR>
434 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up the given key in the given map, converting the result into
435 a long, using the default value if the the conversion fails.</TD>
436 </TR>
437 <TR BGCOLOR="white" CLASS="TableRowColor">
438 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
439 <CODE>static&nbsp;long</CODE></FONT></TD>
440 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getLongValue(java.util.Map, java.lang.Object)">getLongValue</A></B>(java.util.Map&nbsp;map,
441 java.lang.Object&nbsp;key)</CODE>
443 <BR>
444 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a long from a Map in a null-safe manner.</TD>
445 </TR>
446 <TR BGCOLOR="white" CLASS="TableRowColor">
447 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
448 <CODE>static&nbsp;long</CODE></FONT></TD>
449 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getLongValue(java.util.Map, java.lang.Object, long)">getLongValue</A></B>(java.util.Map&nbsp;map,
450 java.lang.Object&nbsp;key,
451 long&nbsp;defaultValue)</CODE>
453 <BR>
454 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a long from a Map in a null-safe manner,
455 using the default value if the the conversion fails.</TD>
456 </TR>
457 <TR BGCOLOR="white" CLASS="TableRowColor">
458 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
459 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
460 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getMap(java.util.Map, java.lang.Object)">getMap</A></B>(java.util.Map&nbsp;map,
461 java.lang.Object&nbsp;key)</CODE>
463 <BR>
464 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a Map from a Map in a null-safe manner.</TD>
465 </TR>
466 <TR BGCOLOR="white" CLASS="TableRowColor">
467 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
468 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
469 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getMap(java.util.Map, java.lang.Object, java.util.Map)">getMap</A></B>(java.util.Map&nbsp;map,
470 java.lang.Object&nbsp;key,
471 java.util.Map&nbsp;defaultValue)</CODE>
473 <BR>
474 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up the given key in the given map, converting the result into
475 a map, using the default value if the the conversion fails.</TD>
476 </TR>
477 <TR BGCOLOR="white" CLASS="TableRowColor">
478 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
479 <CODE>static&nbsp;java.lang.Number</CODE></FONT></TD>
480 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)">getNumber</A></B>(java.util.Map&nbsp;map,
481 java.lang.Object&nbsp;key)</CODE>
483 <BR>
484 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a Number from a Map in a null-safe manner.</TD>
485 </TR>
486 <TR BGCOLOR="white" CLASS="TableRowColor">
487 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
488 <CODE>static&nbsp;java.lang.Number</CODE></FONT></TD>
489 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object, java.lang.Number)">getNumber</A></B>(java.util.Map&nbsp;map,
490 java.lang.Object&nbsp;key,
491 java.lang.Number&nbsp;defaultValue)</CODE>
493 <BR>
494 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up the given key in the given map, converting the result into
495 a number, using the default value if the the conversion fails.</TD>
496 </TR>
497 <TR BGCOLOR="white" CLASS="TableRowColor">
498 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
499 <CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
500 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getObject(java.util.Map, java.lang.Object)">getObject</A></B>(java.util.Map&nbsp;map,
501 java.lang.Object&nbsp;key)</CODE>
503 <BR>
504 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets from a Map in a null-safe manner.</TD>
505 </TR>
506 <TR BGCOLOR="white" CLASS="TableRowColor">
507 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
508 <CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
509 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getObject(java.util.Map, java.lang.Object, java.lang.Object)">getObject</A></B>(java.util.Map&nbsp;map,
510 java.lang.Object&nbsp;key,
511 java.lang.Object&nbsp;defaultValue)</CODE>
513 <BR>
514 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up the given key in the given map, converting null into the
515 given default value.</TD>
516 </TR>
517 <TR BGCOLOR="white" CLASS="TableRowColor">
518 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
519 <CODE>static&nbsp;java.lang.Short</CODE></FONT></TD>
520 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getShort(java.util.Map, java.lang.Object)">getShort</A></B>(java.util.Map&nbsp;map,
521 java.lang.Object&nbsp;key)</CODE>
523 <BR>
524 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a Short from a Map in a null-safe manner.</TD>
525 </TR>
526 <TR BGCOLOR="white" CLASS="TableRowColor">
527 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
528 <CODE>static&nbsp;java.lang.Short</CODE></FONT></TD>
529 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getShort(java.util.Map, java.lang.Object, java.lang.Short)">getShort</A></B>(java.util.Map&nbsp;map,
530 java.lang.Object&nbsp;key,
531 java.lang.Short&nbsp;defaultValue)</CODE>
533 <BR>
534 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up the given key in the given map, converting the result into
535 a short, using the default value if the the conversion fails.</TD>
536 </TR>
537 <TR BGCOLOR="white" CLASS="TableRowColor">
538 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
539 <CODE>static&nbsp;short</CODE></FONT></TD>
540 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getShortValue(java.util.Map, java.lang.Object)">getShortValue</A></B>(java.util.Map&nbsp;map,
541 java.lang.Object&nbsp;key)</CODE>
543 <BR>
544 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a short from a Map in a null-safe manner.</TD>
545 </TR>
546 <TR BGCOLOR="white" CLASS="TableRowColor">
547 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
548 <CODE>static&nbsp;short</CODE></FONT></TD>
549 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getShortValue(java.util.Map, java.lang.Object, short)">getShortValue</A></B>(java.util.Map&nbsp;map,
550 java.lang.Object&nbsp;key,
551 short&nbsp;defaultValue)</CODE>
553 <BR>
554 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a short from a Map in a null-safe manner,
555 using the default value if the the conversion fails.</TD>
556 </TR>
557 <TR BGCOLOR="white" CLASS="TableRowColor">
558 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
559 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
560 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getString(java.util.Map, java.lang.Object)">getString</A></B>(java.util.Map&nbsp;map,
561 java.lang.Object&nbsp;key)</CODE>
563 <BR>
564 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a String from a Map in a null-safe manner.</TD>
565 </TR>
566 <TR BGCOLOR="white" CLASS="TableRowColor">
567 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
568 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
569 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#getString(java.util.Map, java.lang.Object, java.lang.String)">getString</A></B>(java.util.Map&nbsp;map,
570 java.lang.Object&nbsp;key,
571 java.lang.String&nbsp;defaultValue)</CODE>
573 <BR>
574 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up the given key in the given map, converting the result into
575 a string, using the default value if the the conversion fails.</TD>
576 </TR>
577 <TR BGCOLOR="white" CLASS="TableRowColor">
578 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
579 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
580 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#invertMap(java.util.Map)">invertMap</A></B>(java.util.Map&nbsp;map)</CODE>
582 <BR>
583 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inverts the supplied map returning a new HashMap such that the keys of
584 the input are swapped with the values.</TD>
585 </TR>
586 <TR BGCOLOR="white" CLASS="TableRowColor">
587 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
588 <CODE>static&nbsp;boolean</CODE></FONT></TD>
589 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#isEmpty(java.util.Map)">isEmpty</A></B>(java.util.Map&nbsp;map)</CODE>
591 <BR>
592 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Null-safe check if the specified map is empty.</TD>
593 </TR>
594 <TR BGCOLOR="white" CLASS="TableRowColor">
595 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
596 <CODE>static&nbsp;boolean</CODE></FONT></TD>
597 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#isNotEmpty(java.util.Map)">isNotEmpty</A></B>(java.util.Map&nbsp;map)</CODE>
599 <BR>
600 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Null-safe check if the specified map is not empty.</TD>
601 </TR>
602 <TR BGCOLOR="white" CLASS="TableRowColor">
603 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
604 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
605 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#lazyMap(java.util.Map, org.apache.commons.collections.Factory)">lazyMap</A></B>(java.util.Map&nbsp;map,
606 <A HREF="../../../../org/apache/commons/collections/Factory.html" title="interface in org.apache.commons.collections">Factory</A>&nbsp;factory)</CODE>
608 <BR>
609 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a "lazy" map whose values will be created on demand.</TD>
610 </TR>
611 <TR BGCOLOR="white" CLASS="TableRowColor">
612 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
613 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
614 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#lazyMap(java.util.Map, org.apache.commons.collections.Transformer)">lazyMap</A></B>(java.util.Map&nbsp;map,
615 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;transformerFactory)</CODE>
617 <BR>
618 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a "lazy" map whose values will be created on demand.</TD>
619 </TR>
620 <TR BGCOLOR="white" CLASS="TableRowColor">
621 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
622 <CODE>static&nbsp;java.util.SortedMap</CODE></FONT></TD>
623 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#lazySortedMap(java.util.SortedMap, org.apache.commons.collections.Factory)">lazySortedMap</A></B>(java.util.SortedMap&nbsp;map,
624 <A HREF="../../../../org/apache/commons/collections/Factory.html" title="interface in org.apache.commons.collections">Factory</A>&nbsp;factory)</CODE>
626 <BR>
627 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a "lazy" sorted map whose values will be created on demand.</TD>
628 </TR>
629 <TR BGCOLOR="white" CLASS="TableRowColor">
630 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
631 <CODE>static&nbsp;java.util.SortedMap</CODE></FONT></TD>
632 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#lazySortedMap(java.util.SortedMap, org.apache.commons.collections.Transformer)">lazySortedMap</A></B>(java.util.SortedMap&nbsp;map,
633 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;transformerFactory)</CODE>
635 <BR>
636 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a "lazy" sorted map whose values will be created on demand.</TD>
637 </TR>
638 <TR BGCOLOR="white" CLASS="TableRowColor">
639 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
640 <CODE>protected static&nbsp;void</CODE></FONT></TD>
641 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#logInfo(java.lang.Exception)">logInfo</A></B>(java.lang.Exception&nbsp;ex)</CODE>
643 <BR>
644 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs the given exception to <code>System.out</code>.</TD>
645 </TR>
646 <TR BGCOLOR="white" CLASS="TableRowColor">
647 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
648 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
649 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#multiValueMap(java.util.Map)">multiValueMap</A></B>(java.util.Map&nbsp;map)</CODE>
651 <BR>
652 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a mult-value map backed by the given map which returns
653 collections of type ArrayList.</TD>
654 </TR>
655 <TR BGCOLOR="white" CLASS="TableRowColor">
656 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
657 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
658 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#multiValueMap(java.util.Map, java.lang.Class)">multiValueMap</A></B>(java.util.Map&nbsp;map,
659 java.lang.Class&nbsp;collectionClass)</CODE>
661 <BR>
662 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a multi-value map backed by the given map which returns
663 collections of the specified type.</TD>
664 </TR>
665 <TR BGCOLOR="white" CLASS="TableRowColor">
666 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
667 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
668 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#multiValueMap(java.util.Map, org.apache.commons.collections.Factory)">multiValueMap</A></B>(java.util.Map&nbsp;map,
669 <A HREF="../../../../org/apache/commons/collections/Factory.html" title="interface in org.apache.commons.collections">Factory</A>&nbsp;collectionFactory)</CODE>
671 <BR>
672 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a multi-value map backed by the given map which returns
673 collections created by the specified collection factory.</TD>
674 </TR>
675 <TR BGCOLOR="white" CLASS="TableRowColor">
676 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
677 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
678 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#orderedMap(java.util.Map)">orderedMap</A></B>(java.util.Map&nbsp;map)</CODE>
680 <BR>
681 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a map that maintains the order of keys that are added
682 backed by the given map.</TD>
683 </TR>
684 <TR BGCOLOR="white" CLASS="TableRowColor">
685 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
686 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
687 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#predicatedMap(java.util.Map, org.apache.commons.collections.Predicate, org.apache.commons.collections.Predicate)">predicatedMap</A></B>(java.util.Map&nbsp;map,
688 <A HREF="../../../../org/apache/commons/collections/Predicate.html" title="interface in org.apache.commons.collections">Predicate</A>&nbsp;keyPred,
689 <A HREF="../../../../org/apache/commons/collections/Predicate.html" title="interface in org.apache.commons.collections">Predicate</A>&nbsp;valuePred)</CODE>
691 <BR>
692 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a predicated (validating) map backed by the given map.</TD>
693 </TR>
694 <TR BGCOLOR="white" CLASS="TableRowColor">
695 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
696 <CODE>static&nbsp;java.util.SortedMap</CODE></FONT></TD>
697 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#predicatedSortedMap(java.util.SortedMap, org.apache.commons.collections.Predicate, org.apache.commons.collections.Predicate)">predicatedSortedMap</A></B>(java.util.SortedMap&nbsp;map,
698 <A HREF="../../../../org/apache/commons/collections/Predicate.html" title="interface in org.apache.commons.collections">Predicate</A>&nbsp;keyPred,
699 <A HREF="../../../../org/apache/commons/collections/Predicate.html" title="interface in org.apache.commons.collections">Predicate</A>&nbsp;valuePred)</CODE>
701 <BR>
702 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a predicated (validating) sorted map backed by the given map.</TD>
703 </TR>
704 <TR BGCOLOR="white" CLASS="TableRowColor">
705 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
706 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
707 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#putAll(java.util.Map, java.lang.Object[])">putAll</A></B>(java.util.Map&nbsp;map,
708 java.lang.Object[]&nbsp;array)</CODE>
710 <BR>
711 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Puts all the keys and values from the specified array into the map.</TD>
712 </TR>
713 <TR BGCOLOR="white" CLASS="TableRowColor">
714 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
715 <CODE>static&nbsp;void</CODE></FONT></TD>
716 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#safeAddToMap(java.util.Map, java.lang.Object, java.lang.Object)">safeAddToMap</A></B>(java.util.Map&nbsp;map,
717 java.lang.Object&nbsp;key,
718 java.lang.Object&nbsp;value)</CODE>
720 <BR>
721 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protects against adding null values to a map.</TD>
722 </TR>
723 <TR BGCOLOR="white" CLASS="TableRowColor">
724 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
725 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
726 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#synchronizedMap(java.util.Map)">synchronizedMap</A></B>(java.util.Map&nbsp;map)</CODE>
728 <BR>
729 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a synchronized map backed by the given map.</TD>
730 </TR>
731 <TR BGCOLOR="white" CLASS="TableRowColor">
732 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
733 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
734 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#synchronizedSortedMap(java.util.SortedMap)">synchronizedSortedMap</A></B>(java.util.SortedMap&nbsp;map)</CODE>
736 <BR>
737 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a synchronized sorted map backed by the given sorted map.</TD>
738 </TR>
739 <TR BGCOLOR="white" CLASS="TableRowColor">
740 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
741 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
742 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#toMap(java.util.ResourceBundle)">toMap</A></B>(java.util.ResourceBundle&nbsp;resourceBundle)</CODE>
744 <BR>
745 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new HashMap using data copied from a ResourceBundle.</TD>
746 </TR>
747 <TR BGCOLOR="white" CLASS="TableRowColor">
748 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
749 <CODE>static&nbsp;java.util.Properties</CODE></FONT></TD>
750 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#toProperties(java.util.Map)">toProperties</A></B>(java.util.Map&nbsp;map)</CODE>
752 <BR>
753 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a new Properties object initialised with the values from a Map.</TD>
754 </TR>
755 <TR BGCOLOR="white" CLASS="TableRowColor">
756 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
757 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
758 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#transformedMap(java.util.Map, org.apache.commons.collections.Transformer, org.apache.commons.collections.Transformer)">transformedMap</A></B>(java.util.Map&nbsp;map,
759 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;keyTransformer,
760 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;valueTransformer)</CODE>
762 <BR>
763 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a transformed map backed by the given map.</TD>
764 </TR>
765 <TR BGCOLOR="white" CLASS="TableRowColor">
766 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
767 <CODE>static&nbsp;java.util.SortedMap</CODE></FONT></TD>
768 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#transformedSortedMap(java.util.SortedMap, org.apache.commons.collections.Transformer, org.apache.commons.collections.Transformer)">transformedSortedMap</A></B>(java.util.SortedMap&nbsp;map,
769 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;keyTransformer,
770 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;valueTransformer)</CODE>
772 <BR>
773 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a transformed sorted map backed by the given map.</TD>
774 </TR>
775 <TR BGCOLOR="white" CLASS="TableRowColor">
776 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
777 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
778 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#typedMap(java.util.Map, java.lang.Class, java.lang.Class)">typedMap</A></B>(java.util.Map&nbsp;map,
779 java.lang.Class&nbsp;keyType,
780 java.lang.Class&nbsp;valueType)</CODE>
782 <BR>
783 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a typed map backed by the given map.</TD>
784 </TR>
785 <TR BGCOLOR="white" CLASS="TableRowColor">
786 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
787 <CODE>static&nbsp;java.util.SortedMap</CODE></FONT></TD>
788 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#typedSortedMap(java.util.SortedMap, java.lang.Class, java.lang.Class)">typedSortedMap</A></B>(java.util.SortedMap&nbsp;map,
789 java.lang.Class&nbsp;keyType,
790 java.lang.Class&nbsp;valueType)</CODE>
792 <BR>
793 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a typed sorted map backed by the given map.</TD>
794 </TR>
795 <TR BGCOLOR="white" CLASS="TableRowColor">
796 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
797 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
798 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#unmodifiableMap(java.util.Map)">unmodifiableMap</A></B>(java.util.Map&nbsp;map)</CODE>
800 <BR>
801 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an unmodifiable map backed by the given map.</TD>
802 </TR>
803 <TR BGCOLOR="white" CLASS="TableRowColor">
804 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
805 <CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
806 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#unmodifiableSortedMap(java.util.SortedMap)">unmodifiableSortedMap</A></B>(java.util.SortedMap&nbsp;map)</CODE>
808 <BR>
809 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an unmodifiable sorted map backed by the given sorted map.</TD>
810 </TR>
811 <TR BGCOLOR="white" CLASS="TableRowColor">
812 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
813 <CODE>static&nbsp;void</CODE></FONT></TD>
814 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/MapUtils.html#verbosePrint(java.io.PrintStream, java.lang.Object, java.util.Map)">verbosePrint</A></B>(java.io.PrintStream&nbsp;out,
815 java.lang.Object&nbsp;label,
816 java.util.Map&nbsp;map)</CODE>
818 <BR>
819 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the given map with nice line breaks.</TD>
820 </TR>
821 </TABLE>
822 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
823 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
824 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
825 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
826 </TR>
827 <TR BGCOLOR="white" CLASS="TableRowColor">
828 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
829 </TR>
830 </TABLE>
831 &nbsp;
834 <!-- ============ FIELD DETAIL =========== -->
836 <A NAME="field_detail"><!-- --></A>
837 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
838 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
839 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
840 <B>Field Detail</B></FONT></TH>
841 </TR>
842 </TABLE>
844 <A NAME="EMPTY_MAP"><!-- --></A><H3>
845 EMPTY_MAP</H3>
846 <PRE>
847 public static final java.util.Map <B>EMPTY_MAP</B></PRE>
848 <DL>
849 <DD>An empty unmodifiable map.
850 This was not provided in JDK1.2.
852 <DL>
853 </DL>
854 </DL>
855 <HR>
857 <A NAME="EMPTY_SORTED_MAP"><!-- --></A><H3>
858 EMPTY_SORTED_MAP</H3>
859 <PRE>
860 public static final java.util.SortedMap <B>EMPTY_SORTED_MAP</B></PRE>
861 <DL>
862 <DD>An empty unmodifiable sorted map.
863 This is not provided in the JDK.
865 <DL>
866 </DL>
867 </DL>
869 <!-- ========= CONSTRUCTOR DETAIL ======== -->
871 <A NAME="constructor_detail"><!-- --></A>
872 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
873 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
874 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
875 <B>Constructor Detail</B></FONT></TH>
876 </TR>
877 </TABLE>
879 <A NAME="MapUtils()"><!-- --></A><H3>
880 MapUtils</H3>
881 <PRE>
882 public <B>MapUtils</B>()</PRE>
883 <DL>
884 <DD><code>MapUtils</code> should not normally be instantiated.
886 </DL>
888 <!-- ============ METHOD DETAIL ========== -->
890 <A NAME="method_detail"><!-- --></A>
891 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
892 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
893 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
894 <B>Method Detail</B></FONT></TH>
895 </TR>
896 </TABLE>
898 <A NAME="getObject(java.util.Map, java.lang.Object)"><!-- --></A><H3>
899 getObject</H3>
900 <PRE>
901 public static java.lang.Object <B>getObject</B>(java.util.Map&nbsp;map,
902 java.lang.Object&nbsp;key)</PRE>
903 <DL>
904 <DD>Gets from a Map in a null-safe manner.
906 <DD><DL>
907 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
908 <DT><B>Returns:</B><DD>the value in the Map, <code>null</code> if null map input</DL>
909 </DD>
910 </DL>
911 <HR>
913 <A NAME="getString(java.util.Map, java.lang.Object)"><!-- --></A><H3>
914 getString</H3>
915 <PRE>
916 public static java.lang.String <B>getString</B>(java.util.Map&nbsp;map,
917 java.lang.Object&nbsp;key)</PRE>
918 <DL>
919 <DD>Gets a String from a Map in a null-safe manner.
921 The String is obtained via <code>toString</code>.
923 <DD><DL>
924 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
925 <DT><B>Returns:</B><DD>the value in the Map as a String, <code>null</code> if null map input</DL>
926 </DD>
927 </DL>
928 <HR>
930 <A NAME="getBoolean(java.util.Map, java.lang.Object)"><!-- --></A><H3>
931 getBoolean</H3>
932 <PRE>
933 public static java.lang.Boolean <B>getBoolean</B>(java.util.Map&nbsp;map,
934 java.lang.Object&nbsp;key)</PRE>
935 <DL>
936 <DD>Gets a Boolean from a Map in a null-safe manner.
938 If the value is a <code>Boolean</code> it is returned directly.
939 If the value is a <code>String</code> and it equals 'true' ignoring case
940 then <code>true</code> is returned, otherwise <code>false</code>.
941 If the value is a <code>Number</code> an integer zero value returns
942 <code>false</code> and non-zero returns <code>true</code>.
943 Otherwise, <code>null</code> is returned.
945 <DD><DL>
946 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
947 <DT><B>Returns:</B><DD>the value in the Map as a Boolean, <code>null</code> if null map input</DL>
948 </DD>
949 </DL>
950 <HR>
952 <A NAME="getNumber(java.util.Map, java.lang.Object)"><!-- --></A><H3>
953 getNumber</H3>
954 <PRE>
955 public static java.lang.Number <B>getNumber</B>(java.util.Map&nbsp;map,
956 java.lang.Object&nbsp;key)</PRE>
957 <DL>
958 <DD>Gets a Number from a Map in a null-safe manner.
960 If the value is a <code>Number</code> it is returned directly.
961 If the value is a <code>String</code> it is converted using
962 <CODE>NumberFormat.parse(String)</CODE> on the system default formatter
963 returning <code>null</code> if the conversion fails.
964 Otherwise, <code>null</code> is returned.
966 <DD><DL>
967 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
968 <DT><B>Returns:</B><DD>the value in the Map as a Number, <code>null</code> if null map input</DL>
969 </DD>
970 </DL>
971 <HR>
973 <A NAME="getByte(java.util.Map, java.lang.Object)"><!-- --></A><H3>
974 getByte</H3>
975 <PRE>
976 public static java.lang.Byte <B>getByte</B>(java.util.Map&nbsp;map,
977 java.lang.Object&nbsp;key)</PRE>
978 <DL>
979 <DD>Gets a Byte from a Map in a null-safe manner.
981 The Byte is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
983 <DD><DL>
984 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
985 <DT><B>Returns:</B><DD>the value in the Map as a Byte, <code>null</code> if null map input</DL>
986 </DD>
987 </DL>
988 <HR>
990 <A NAME="getShort(java.util.Map, java.lang.Object)"><!-- --></A><H3>
991 getShort</H3>
992 <PRE>
993 public static java.lang.Short <B>getShort</B>(java.util.Map&nbsp;map,
994 java.lang.Object&nbsp;key)</PRE>
995 <DL>
996 <DD>Gets a Short from a Map in a null-safe manner.
998 The Short is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1000 <DD><DL>
1001 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1002 <DT><B>Returns:</B><DD>the value in the Map as a Short, <code>null</code> if null map input</DL>
1003 </DD>
1004 </DL>
1005 <HR>
1007 <A NAME="getInteger(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1008 getInteger</H3>
1009 <PRE>
1010 public static java.lang.Integer <B>getInteger</B>(java.util.Map&nbsp;map,
1011 java.lang.Object&nbsp;key)</PRE>
1012 <DL>
1013 <DD>Gets a Integer from a Map in a null-safe manner.
1015 The Integer is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1017 <DD><DL>
1018 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1019 <DT><B>Returns:</B><DD>the value in the Map as a Integer, <code>null</code> if null map input</DL>
1020 </DD>
1021 </DL>
1022 <HR>
1024 <A NAME="getLong(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1025 getLong</H3>
1026 <PRE>
1027 public static java.lang.Long <B>getLong</B>(java.util.Map&nbsp;map,
1028 java.lang.Object&nbsp;key)</PRE>
1029 <DL>
1030 <DD>Gets a Long from a Map in a null-safe manner.
1032 The Long is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1034 <DD><DL>
1035 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1036 <DT><B>Returns:</B><DD>the value in the Map as a Long, <code>null</code> if null map input</DL>
1037 </DD>
1038 </DL>
1039 <HR>
1041 <A NAME="getFloat(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1042 getFloat</H3>
1043 <PRE>
1044 public static java.lang.Float <B>getFloat</B>(java.util.Map&nbsp;map,
1045 java.lang.Object&nbsp;key)</PRE>
1046 <DL>
1047 <DD>Gets a Float from a Map in a null-safe manner.
1049 The Float is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1051 <DD><DL>
1052 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1053 <DT><B>Returns:</B><DD>the value in the Map as a Float, <code>null</code> if null map input</DL>
1054 </DD>
1055 </DL>
1056 <HR>
1058 <A NAME="getDouble(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1059 getDouble</H3>
1060 <PRE>
1061 public static java.lang.Double <B>getDouble</B>(java.util.Map&nbsp;map,
1062 java.lang.Object&nbsp;key)</PRE>
1063 <DL>
1064 <DD>Gets a Double from a Map in a null-safe manner.
1066 The Double is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1068 <DD><DL>
1069 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1070 <DT><B>Returns:</B><DD>the value in the Map as a Double, <code>null</code> if null map input</DL>
1071 </DD>
1072 </DL>
1073 <HR>
1075 <A NAME="getMap(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1076 getMap</H3>
1077 <PRE>
1078 public static java.util.Map <B>getMap</B>(java.util.Map&nbsp;map,
1079 java.lang.Object&nbsp;key)</PRE>
1080 <DL>
1081 <DD>Gets a Map from a Map in a null-safe manner.
1083 If the value returned from the specified map is not a Map then
1084 <code>null</code> is returned.
1086 <DD><DL>
1087 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1088 <DT><B>Returns:</B><DD>the value in the Map as a Map, <code>null</code> if null map input</DL>
1089 </DD>
1090 </DL>
1091 <HR>
1093 <A NAME="getObject(java.util.Map, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
1094 getObject</H3>
1095 <PRE>
1096 public static java.lang.Object <B>getObject</B>(java.util.Map&nbsp;map,
1097 java.lang.Object&nbsp;key,
1098 java.lang.Object&nbsp;defaultValue)</PRE>
1099 <DL>
1100 <DD>Looks up the given key in the given map, converting null into the
1101 given default value.
1103 <DD><DL>
1104 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose value to look up<DD><CODE>key</CODE> - the key of the value to look up in that map<DD><CODE>defaultValue</CODE> - what to return if the value is null
1105 <DT><B>Returns:</B><DD>the value in the map, or defaultValue if the original value
1106 is null or the map is null</DL>
1107 </DD>
1108 </DL>
1109 <HR>
1111 <A NAME="getString(java.util.Map, java.lang.Object, java.lang.String)"><!-- --></A><H3>
1112 getString</H3>
1113 <PRE>
1114 public static java.lang.String <B>getString</B>(java.util.Map&nbsp;map,
1115 java.lang.Object&nbsp;key,
1116 java.lang.String&nbsp;defaultValue)</PRE>
1117 <DL>
1118 <DD>Looks up the given key in the given map, converting the result into
1119 a string, using the default value if the the conversion fails.
1121 <DD><DL>
1122 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose value to look up<DD><CODE>key</CODE> - the key of the value to look up in that map<DD><CODE>defaultValue</CODE> - what to return if the value is null or if the
1123 conversion fails
1124 <DT><B>Returns:</B><DD>the value in the map as a string, or defaultValue if the
1125 original value is null, the map is null or the string conversion
1126 fails</DL>
1127 </DD>
1128 </DL>
1129 <HR>
1131 <A NAME="getBoolean(java.util.Map, java.lang.Object, java.lang.Boolean)"><!-- --></A><H3>
1132 getBoolean</H3>
1133 <PRE>
1134 public static java.lang.Boolean <B>getBoolean</B>(java.util.Map&nbsp;map,
1135 java.lang.Object&nbsp;key,
1136 java.lang.Boolean&nbsp;defaultValue)</PRE>
1137 <DL>
1138 <DD>Looks up the given key in the given map, converting the result into
1139 a boolean, using the default value if the the conversion fails.
1141 <DD><DL>
1142 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose value to look up<DD><CODE>key</CODE> - the key of the value to look up in that map<DD><CODE>defaultValue</CODE> - what to return if the value is null or if the
1143 conversion fails
1144 <DT><B>Returns:</B><DD>the value in the map as a boolean, or defaultValue if the
1145 original value is null, the map is null or the boolean conversion
1146 fails</DL>
1147 </DD>
1148 </DL>
1149 <HR>
1151 <A NAME="getNumber(java.util.Map, java.lang.Object, java.lang.Number)"><!-- --></A><H3>
1152 getNumber</H3>
1153 <PRE>
1154 public static java.lang.Number <B>getNumber</B>(java.util.Map&nbsp;map,
1155 java.lang.Object&nbsp;key,
1156 java.lang.Number&nbsp;defaultValue)</PRE>
1157 <DL>
1158 <DD>Looks up the given key in the given map, converting the result into
1159 a number, using the default value if the the conversion fails.
1161 <DD><DL>
1162 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose value to look up<DD><CODE>key</CODE> - the key of the value to look up in that map<DD><CODE>defaultValue</CODE> - what to return if the value is null or if the
1163 conversion fails
1164 <DT><B>Returns:</B><DD>the value in the map as a number, or defaultValue if the
1165 original value is null, the map is null or the number conversion
1166 fails</DL>
1167 </DD>
1168 </DL>
1169 <HR>
1171 <A NAME="getByte(java.util.Map, java.lang.Object, java.lang.Byte)"><!-- --></A><H3>
1172 getByte</H3>
1173 <PRE>
1174 public static java.lang.Byte <B>getByte</B>(java.util.Map&nbsp;map,
1175 java.lang.Object&nbsp;key,
1176 java.lang.Byte&nbsp;defaultValue)</PRE>
1177 <DL>
1178 <DD>Looks up the given key in the given map, converting the result into
1179 a byte, using the default value if the the conversion fails.
1181 <DD><DL>
1182 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose value to look up<DD><CODE>key</CODE> - the key of the value to look up in that map<DD><CODE>defaultValue</CODE> - what to return if the value is null or if the
1183 conversion fails
1184 <DT><B>Returns:</B><DD>the value in the map as a number, or defaultValue if the
1185 original value is null, the map is null or the number conversion
1186 fails</DL>
1187 </DD>
1188 </DL>
1189 <HR>
1191 <A NAME="getShort(java.util.Map, java.lang.Object, java.lang.Short)"><!-- --></A><H3>
1192 getShort</H3>
1193 <PRE>
1194 public static java.lang.Short <B>getShort</B>(java.util.Map&nbsp;map,
1195 java.lang.Object&nbsp;key,
1196 java.lang.Short&nbsp;defaultValue)</PRE>
1197 <DL>
1198 <DD>Looks up the given key in the given map, converting the result into
1199 a short, using the default value if the the conversion fails.
1201 <DD><DL>
1202 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose value to look up<DD><CODE>key</CODE> - the key of the value to look up in that map<DD><CODE>defaultValue</CODE> - what to return if the value is null or if the
1203 conversion fails
1204 <DT><B>Returns:</B><DD>the value in the map as a number, or defaultValue if the
1205 original value is null, the map is null or the number conversion
1206 fails</DL>
1207 </DD>
1208 </DL>
1209 <HR>
1211 <A NAME="getInteger(java.util.Map, java.lang.Object, java.lang.Integer)"><!-- --></A><H3>
1212 getInteger</H3>
1213 <PRE>
1214 public static java.lang.Integer <B>getInteger</B>(java.util.Map&nbsp;map,
1215 java.lang.Object&nbsp;key,
1216 java.lang.Integer&nbsp;defaultValue)</PRE>
1217 <DL>
1218 <DD>Looks up the given key in the given map, converting the result into
1219 an integer, using the default value if the the conversion fails.
1221 <DD><DL>
1222 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose value to look up<DD><CODE>key</CODE> - the key of the value to look up in that map<DD><CODE>defaultValue</CODE> - what to return if the value is null or if the
1223 conversion fails
1224 <DT><B>Returns:</B><DD>the value in the map as a number, or defaultValue if the
1225 original value is null, the map is null or the number conversion
1226 fails</DL>
1227 </DD>
1228 </DL>
1229 <HR>
1231 <A NAME="getLong(java.util.Map, java.lang.Object, java.lang.Long)"><!-- --></A><H3>
1232 getLong</H3>
1233 <PRE>
1234 public static java.lang.Long <B>getLong</B>(java.util.Map&nbsp;map,
1235 java.lang.Object&nbsp;key,
1236 java.lang.Long&nbsp;defaultValue)</PRE>
1237 <DL>
1238 <DD>Looks up the given key in the given map, converting the result into
1239 a long, using the default value if the the conversion fails.
1241 <DD><DL>
1242 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose value to look up<DD><CODE>key</CODE> - the key of the value to look up in that map<DD><CODE>defaultValue</CODE> - what to return if the value is null or if the
1243 conversion fails
1244 <DT><B>Returns:</B><DD>the value in the map as a number, or defaultValue if the
1245 original value is null, the map is null or the number conversion
1246 fails</DL>
1247 </DD>
1248 </DL>
1249 <HR>
1251 <A NAME="getFloat(java.util.Map, java.lang.Object, java.lang.Float)"><!-- --></A><H3>
1252 getFloat</H3>
1253 <PRE>
1254 public static java.lang.Float <B>getFloat</B>(java.util.Map&nbsp;map,
1255 java.lang.Object&nbsp;key,
1256 java.lang.Float&nbsp;defaultValue)</PRE>
1257 <DL>
1258 <DD>Looks up the given key in the given map, converting the result into
1259 a float, using the default value if the the conversion fails.
1261 <DD><DL>
1262 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose value to look up<DD><CODE>key</CODE> - the key of the value to look up in that map<DD><CODE>defaultValue</CODE> - what to return if the value is null or if the
1263 conversion fails
1264 <DT><B>Returns:</B><DD>the value in the map as a number, or defaultValue if the
1265 original value is null, the map is null or the number conversion
1266 fails</DL>
1267 </DD>
1268 </DL>
1269 <HR>
1271 <A NAME="getDouble(java.util.Map, java.lang.Object, java.lang.Double)"><!-- --></A><H3>
1272 getDouble</H3>
1273 <PRE>
1274 public static java.lang.Double <B>getDouble</B>(java.util.Map&nbsp;map,
1275 java.lang.Object&nbsp;key,
1276 java.lang.Double&nbsp;defaultValue)</PRE>
1277 <DL>
1278 <DD>Looks up the given key in the given map, converting the result into
1279 a double, using the default value if the the conversion fails.
1281 <DD><DL>
1282 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose value to look up<DD><CODE>key</CODE> - the key of the value to look up in that map<DD><CODE>defaultValue</CODE> - what to return if the value is null or if the
1283 conversion fails
1284 <DT><B>Returns:</B><DD>the value in the map as a number, or defaultValue if the
1285 original value is null, the map is null or the number conversion
1286 fails</DL>
1287 </DD>
1288 </DL>
1289 <HR>
1291 <A NAME="getMap(java.util.Map, java.lang.Object, java.util.Map)"><!-- --></A><H3>
1292 getMap</H3>
1293 <PRE>
1294 public static java.util.Map <B>getMap</B>(java.util.Map&nbsp;map,
1295 java.lang.Object&nbsp;key,
1296 java.util.Map&nbsp;defaultValue)</PRE>
1297 <DL>
1298 <DD>Looks up the given key in the given map, converting the result into
1299 a map, using the default value if the the conversion fails.
1301 <DD><DL>
1302 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose value to look up<DD><CODE>key</CODE> - the key of the value to look up in that map<DD><CODE>defaultValue</CODE> - what to return if the value is null or if the
1303 conversion fails
1304 <DT><B>Returns:</B><DD>the value in the map as a number, or defaultValue if the
1305 original value is null, the map is null or the map conversion
1306 fails</DL>
1307 </DD>
1308 </DL>
1309 <HR>
1311 <A NAME="getBooleanValue(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1312 getBooleanValue</H3>
1313 <PRE>
1314 public static boolean <B>getBooleanValue</B>(java.util.Map&nbsp;map,
1315 java.lang.Object&nbsp;key)</PRE>
1316 <DL>
1317 <DD>Gets a boolean from a Map in a null-safe manner.
1319 If the value is a <code>Boolean</code> its value is returned.
1320 If the value is a <code>String</code> and it equals 'true' ignoring case
1321 then <code>true</code> is returned, otherwise <code>false</code>.
1322 If the value is a <code>Number</code> an integer zero value returns
1323 <code>false</code> and non-zero returns <code>true</code>.
1324 Otherwise, <code>false</code> is returned.
1326 <DD><DL>
1327 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1328 <DT><B>Returns:</B><DD>the value in the Map as a Boolean, <code>false</code> if null map input</DL>
1329 </DD>
1330 </DL>
1331 <HR>
1333 <A NAME="getByteValue(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1334 getByteValue</H3>
1335 <PRE>
1336 public static byte <B>getByteValue</B>(java.util.Map&nbsp;map,
1337 java.lang.Object&nbsp;key)</PRE>
1338 <DL>
1339 <DD>Gets a byte from a Map in a null-safe manner.
1341 The byte is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1343 <DD><DL>
1344 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1345 <DT><B>Returns:</B><DD>the value in the Map as a byte, <code>0</code> if null map input</DL>
1346 </DD>
1347 </DL>
1348 <HR>
1350 <A NAME="getShortValue(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1351 getShortValue</H3>
1352 <PRE>
1353 public static short <B>getShortValue</B>(java.util.Map&nbsp;map,
1354 java.lang.Object&nbsp;key)</PRE>
1355 <DL>
1356 <DD>Gets a short from a Map in a null-safe manner.
1358 The short is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1360 <DD><DL>
1361 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1362 <DT><B>Returns:</B><DD>the value in the Map as a short, <code>0</code> if null map input</DL>
1363 </DD>
1364 </DL>
1365 <HR>
1367 <A NAME="getIntValue(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1368 getIntValue</H3>
1369 <PRE>
1370 public static int <B>getIntValue</B>(java.util.Map&nbsp;map,
1371 java.lang.Object&nbsp;key)</PRE>
1372 <DL>
1373 <DD>Gets an int from a Map in a null-safe manner.
1375 The int is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1377 <DD><DL>
1378 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1379 <DT><B>Returns:</B><DD>the value in the Map as an int, <code>0</code> if null map input</DL>
1380 </DD>
1381 </DL>
1382 <HR>
1384 <A NAME="getLongValue(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1385 getLongValue</H3>
1386 <PRE>
1387 public static long <B>getLongValue</B>(java.util.Map&nbsp;map,
1388 java.lang.Object&nbsp;key)</PRE>
1389 <DL>
1390 <DD>Gets a long from a Map in a null-safe manner.
1392 The long is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1394 <DD><DL>
1395 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1396 <DT><B>Returns:</B><DD>the value in the Map as a long, <code>0L</code> if null map input</DL>
1397 </DD>
1398 </DL>
1399 <HR>
1401 <A NAME="getFloatValue(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1402 getFloatValue</H3>
1403 <PRE>
1404 public static float <B>getFloatValue</B>(java.util.Map&nbsp;map,
1405 java.lang.Object&nbsp;key)</PRE>
1406 <DL>
1407 <DD>Gets a float from a Map in a null-safe manner.
1409 The float is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1411 <DD><DL>
1412 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1413 <DT><B>Returns:</B><DD>the value in the Map as a float, <code>0.0F</code> if null map input</DL>
1414 </DD>
1415 </DL>
1416 <HR>
1418 <A NAME="getDoubleValue(java.util.Map, java.lang.Object)"><!-- --></A><H3>
1419 getDoubleValue</H3>
1420 <PRE>
1421 public static double <B>getDoubleValue</B>(java.util.Map&nbsp;map,
1422 java.lang.Object&nbsp;key)</PRE>
1423 <DL>
1424 <DD>Gets a double from a Map in a null-safe manner.
1426 The double is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1428 <DD><DL>
1429 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up
1430 <DT><B>Returns:</B><DD>the value in the Map as a double, <code>0.0</code> if null map input</DL>
1431 </DD>
1432 </DL>
1433 <HR>
1435 <A NAME="getBooleanValue(java.util.Map, java.lang.Object, boolean)"><!-- --></A><H3>
1436 getBooleanValue</H3>
1437 <PRE>
1438 public static boolean <B>getBooleanValue</B>(java.util.Map&nbsp;map,
1439 java.lang.Object&nbsp;key,
1440 boolean&nbsp;defaultValue)</PRE>
1441 <DL>
1442 <DD>Gets a boolean from a Map in a null-safe manner,
1443 using the default value if the the conversion fails.
1445 If the value is a <code>Boolean</code> its value is returned.
1446 If the value is a <code>String</code> and it equals 'true' ignoring case
1447 then <code>true</code> is returned, otherwise <code>false</code>.
1448 If the value is a <code>Number</code> an integer zero value returns
1449 <code>false</code> and non-zero returns <code>true</code>.
1450 Otherwise, <code>defaultValue</code> is returned.
1452 <DD><DL>
1453 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up<DD><CODE>defaultValue</CODE> - return if the value is null or if the
1454 conversion fails
1455 <DT><B>Returns:</B><DD>the value in the Map as a Boolean, <code>defaultValue</code> if null map input</DL>
1456 </DD>
1457 </DL>
1458 <HR>
1460 <A NAME="getByteValue(java.util.Map, java.lang.Object, byte)"><!-- --></A><H3>
1461 getByteValue</H3>
1462 <PRE>
1463 public static byte <B>getByteValue</B>(java.util.Map&nbsp;map,
1464 java.lang.Object&nbsp;key,
1465 byte&nbsp;defaultValue)</PRE>
1466 <DL>
1467 <DD>Gets a byte from a Map in a null-safe manner,
1468 using the default value if the the conversion fails.
1470 The byte is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1472 <DD><DL>
1473 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up<DD><CODE>defaultValue</CODE> - return if the value is null or if the
1474 conversion fails
1475 <DT><B>Returns:</B><DD>the value in the Map as a byte, <code>defaultValue</code> if null map input</DL>
1476 </DD>
1477 </DL>
1478 <HR>
1480 <A NAME="getShortValue(java.util.Map, java.lang.Object, short)"><!-- --></A><H3>
1481 getShortValue</H3>
1482 <PRE>
1483 public static short <B>getShortValue</B>(java.util.Map&nbsp;map,
1484 java.lang.Object&nbsp;key,
1485 short&nbsp;defaultValue)</PRE>
1486 <DL>
1487 <DD>Gets a short from a Map in a null-safe manner,
1488 using the default value if the the conversion fails.
1490 The short is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1492 <DD><DL>
1493 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up<DD><CODE>defaultValue</CODE> - return if the value is null or if the
1494 conversion fails
1495 <DT><B>Returns:</B><DD>the value in the Map as a short, <code>defaultValue</code> if null map input</DL>
1496 </DD>
1497 </DL>
1498 <HR>
1500 <A NAME="getIntValue(java.util.Map, java.lang.Object, int)"><!-- --></A><H3>
1501 getIntValue</H3>
1502 <PRE>
1503 public static int <B>getIntValue</B>(java.util.Map&nbsp;map,
1504 java.lang.Object&nbsp;key,
1505 int&nbsp;defaultValue)</PRE>
1506 <DL>
1507 <DD>Gets an int from a Map in a null-safe manner,
1508 using the default value if the the conversion fails.
1510 The int is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1512 <DD><DL>
1513 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up<DD><CODE>defaultValue</CODE> - return if the value is null or if the
1514 conversion fails
1515 <DT><B>Returns:</B><DD>the value in the Map as an int, <code>defaultValue</code> if null map input</DL>
1516 </DD>
1517 </DL>
1518 <HR>
1520 <A NAME="getLongValue(java.util.Map, java.lang.Object, long)"><!-- --></A><H3>
1521 getLongValue</H3>
1522 <PRE>
1523 public static long <B>getLongValue</B>(java.util.Map&nbsp;map,
1524 java.lang.Object&nbsp;key,
1525 long&nbsp;defaultValue)</PRE>
1526 <DL>
1527 <DD>Gets a long from a Map in a null-safe manner,
1528 using the default value if the the conversion fails.
1530 The long is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1532 <DD><DL>
1533 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up<DD><CODE>defaultValue</CODE> - return if the value is null or if the
1534 conversion fails
1535 <DT><B>Returns:</B><DD>the value in the Map as a long, <code>defaultValue</code> if null map input</DL>
1536 </DD>
1537 </DL>
1538 <HR>
1540 <A NAME="getFloatValue(java.util.Map, java.lang.Object, float)"><!-- --></A><H3>
1541 getFloatValue</H3>
1542 <PRE>
1543 public static float <B>getFloatValue</B>(java.util.Map&nbsp;map,
1544 java.lang.Object&nbsp;key,
1545 float&nbsp;defaultValue)</PRE>
1546 <DL>
1547 <DD>Gets a float from a Map in a null-safe manner,
1548 using the default value if the the conversion fails.
1550 The float is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1552 <DD><DL>
1553 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up<DD><CODE>defaultValue</CODE> - return if the value is null or if the
1554 conversion fails
1555 <DT><B>Returns:</B><DD>the value in the Map as a float, <code>defaultValue</code> if null map input</DL>
1556 </DD>
1557 </DL>
1558 <HR>
1560 <A NAME="getDoubleValue(java.util.Map, java.lang.Object, double)"><!-- --></A><H3>
1561 getDoubleValue</H3>
1562 <PRE>
1563 public static double <B>getDoubleValue</B>(java.util.Map&nbsp;map,
1564 java.lang.Object&nbsp;key,
1565 double&nbsp;defaultValue)</PRE>
1566 <DL>
1567 <DD>Gets a double from a Map in a null-safe manner,
1568 using the default value if the the conversion fails.
1570 The double is obtained from the results of <A HREF="../../../../org/apache/commons/collections/MapUtils.html#getNumber(java.util.Map, java.lang.Object)"><CODE>getNumber(Map,Object)</CODE></A>.
1572 <DD><DL>
1573 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to use<DD><CODE>key</CODE> - the key to look up<DD><CODE>defaultValue</CODE> - return if the value is null or if the
1574 conversion fails
1575 <DT><B>Returns:</B><DD>the value in the Map as a double, <code>defaultValue</code> if null map input</DL>
1576 </DD>
1577 </DL>
1578 <HR>
1580 <A NAME="toProperties(java.util.Map)"><!-- --></A><H3>
1581 toProperties</H3>
1582 <PRE>
1583 public static java.util.Properties <B>toProperties</B>(java.util.Map&nbsp;map)</PRE>
1584 <DL>
1585 <DD>Gets a new Properties object initialised with the values from a Map.
1586 A null input will return an empty properties object.
1588 <DD><DL>
1589 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to convert to a Properties object, may not be null
1590 <DT><B>Returns:</B><DD>the properties object</DL>
1591 </DD>
1592 </DL>
1593 <HR>
1595 <A NAME="toMap(java.util.ResourceBundle)"><!-- --></A><H3>
1596 toMap</H3>
1597 <PRE>
1598 public static java.util.Map <B>toMap</B>(java.util.ResourceBundle&nbsp;resourceBundle)</PRE>
1599 <DL>
1600 <DD>Creates a new HashMap using data copied from a ResourceBundle.
1602 <DD><DL>
1603 <DT><B>Parameters:</B><DD><CODE>resourceBundle</CODE> - the resource bundle to convert, may not be null
1604 <DT><B>Returns:</B><DD>the hashmap containing the data
1605 <DT><B>Throws:</B>
1606 <DD><CODE>java.lang.NullPointerException</CODE> - if the bundle is null</DL>
1607 </DD>
1608 </DL>
1609 <HR>
1611 <A NAME="verbosePrint(java.io.PrintStream, java.lang.Object, java.util.Map)"><!-- --></A><H3>
1612 verbosePrint</H3>
1613 <PRE>
1614 public static void <B>verbosePrint</B>(java.io.PrintStream&nbsp;out,
1615 java.lang.Object&nbsp;label,
1616 java.util.Map&nbsp;map)</PRE>
1617 <DL>
1618 <DD>Prints the given map with nice line breaks.
1620 This method prints a nicely formatted String describing the Map.
1621 Each map entry will be printed with key and value.
1622 When the value is a Map, recursive behaviour occurs.
1624 This method is NOT thread-safe in any special way. You must manually
1625 synchronize on either this class or the stream as required.
1627 <DD><DL>
1628 <DT><B>Parameters:</B><DD><CODE>out</CODE> - the stream to print to, must not be null<DD><CODE>label</CODE> - The label to be used, may be <code>null</code>.
1629 If <code>null</code>, the label is not output.
1630 It typically represents the name of the property in a bean or similar.<DD><CODE>map</CODE> - The map to print, may be <code>null</code>.
1631 If <code>null</code>, the text 'null' is output.
1632 <DT><B>Throws:</B>
1633 <DD><CODE>java.lang.NullPointerException</CODE> - if the stream is <code>null</code></DL>
1634 </DD>
1635 </DL>
1636 <HR>
1638 <A NAME="debugPrint(java.io.PrintStream, java.lang.Object, java.util.Map)"><!-- --></A><H3>
1639 debugPrint</H3>
1640 <PRE>
1641 public static void <B>debugPrint</B>(java.io.PrintStream&nbsp;out,
1642 java.lang.Object&nbsp;label,
1643 java.util.Map&nbsp;map)</PRE>
1644 <DL>
1645 <DD>Prints the given map with nice line breaks.
1647 This method prints a nicely formatted String describing the Map.
1648 Each map entry will be printed with key, value and value classname.
1649 When the value is a Map, recursive behaviour occurs.
1651 This method is NOT thread-safe in any special way. You must manually
1652 synchronize on either this class or the stream as required.
1654 <DD><DL>
1655 <DT><B>Parameters:</B><DD><CODE>out</CODE> - the stream to print to, must not be null<DD><CODE>label</CODE> - The label to be used, may be <code>null</code>.
1656 If <code>null</code>, the label is not output.
1657 It typically represents the name of the property in a bean or similar.<DD><CODE>map</CODE> - The map to print, may be <code>null</code>.
1658 If <code>null</code>, the text 'null' is output.
1659 <DT><B>Throws:</B>
1660 <DD><CODE>java.lang.NullPointerException</CODE> - if the stream is <code>null</code></DL>
1661 </DD>
1662 </DL>
1663 <HR>
1665 <A NAME="logInfo(java.lang.Exception)"><!-- --></A><H3>
1666 logInfo</H3>
1667 <PRE>
1668 protected static void <B>logInfo</B>(java.lang.Exception&nbsp;ex)</PRE>
1669 <DL>
1670 <DD>Logs the given exception to <code>System.out</code>.
1672 This method exists as Jakarta Collections does not depend on logging.
1674 <DD><DL>
1675 <DT><B>Parameters:</B><DD><CODE>ex</CODE> - the exception to log</DL>
1676 </DD>
1677 </DL>
1678 <HR>
1680 <A NAME="invertMap(java.util.Map)"><!-- --></A><H3>
1681 invertMap</H3>
1682 <PRE>
1683 public static java.util.Map <B>invertMap</B>(java.util.Map&nbsp;map)</PRE>
1684 <DL>
1685 <DD>Inverts the supplied map returning a new HashMap such that the keys of
1686 the input are swapped with the values.
1688 This operation assumes that the inverse mapping is well defined.
1689 If the input map had multiple entries with the same value mapped to
1690 different keys, the returned map will map one of those keys to the
1691 value, but the exact key which will be mapped is undefined.
1693 <DD><DL>
1694 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to invert, may not be null
1695 <DT><B>Returns:</B><DD>a new HashMap containing the inverted data
1696 <DT><B>Throws:</B>
1697 <DD><CODE>java.lang.NullPointerException</CODE> - if the map is null</DL>
1698 </DD>
1699 </DL>
1700 <HR>
1702 <A NAME="safeAddToMap(java.util.Map, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
1703 safeAddToMap</H3>
1704 <PRE>
1705 public static void <B>safeAddToMap</B>(java.util.Map&nbsp;map,
1706 java.lang.Object&nbsp;key,
1707 java.lang.Object&nbsp;value)
1708 throws java.lang.NullPointerException</PRE>
1709 <DL>
1710 <DD>Protects against adding null values to a map.
1712 This method checks the value being added to the map, and if it is null
1713 it is replaced by an empty string.
1715 This could be useful if the map does not accept null values, or for
1716 receiving data from a source that may provide null or empty string
1717 which should be held in the same way in the map.
1719 Keys are not validated.
1721 <DD><DL>
1722 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to add to, may not be null<DD><CODE>key</CODE> - the key<DD><CODE>value</CODE> - the value, null converted to ""
1723 <DT><B>Throws:</B>
1724 <DD><CODE>java.lang.NullPointerException</CODE> - if the map is null</DL>
1725 </DD>
1726 </DL>
1727 <HR>
1729 <A NAME="putAll(java.util.Map, java.lang.Object[])"><!-- --></A><H3>
1730 putAll</H3>
1731 <PRE>
1732 public static java.util.Map <B>putAll</B>(java.util.Map&nbsp;map,
1733 java.lang.Object[]&nbsp;array)</PRE>
1734 <DL>
1735 <DD>Puts all the keys and values from the specified array into the map.
1737 This method is an alternative to the <CODE>Map.putAll(java.util.Map)</CODE>
1738 method and constructors. It allows you to build a map from an object array
1739 of various possible styles.
1741 If the first entry in the object array implements <CODE>Map.Entry</CODE>
1742 or <A HREF="../../../../org/apache/commons/collections/KeyValue.html" title="interface in org.apache.commons.collections"><CODE>KeyValue</CODE></A> then the key and value are added from that object.
1743 If the first entry in the object array is an object array itself, then
1744 it is assumed that index 0 in the sub-array is the key and index 1 is the value.
1745 Otherwise, the array is treated as keys and values in alternate indices.
1747 For example, to create a color map:
1748 <pre>
1749 Map colorMap = MapUtils.putAll(new HashMap(), new String[][] {
1750 {"RED", "#FF0000"},
1751 {"GREEN", "#00FF00"},
1752 {"BLUE", "#0000FF"}
1754 </pre>
1756 <pre>
1757 Map colorMap = MapUtils.putAll(new HashMap(), new String[] {
1758 "RED", "#FF0000",
1759 "GREEN", "#00FF00",
1760 "BLUE", "#0000FF"
1762 </pre>
1764 <pre>
1765 Map colorMap = MapUtils.putAll(new HashMap(), new Map.Entry[] {
1766 new DefaultMapEntry("RED", "#FF0000"),
1767 new DefaultMapEntry("GREEN", "#00FF00"),
1768 new DefaultMapEntry("BLUE", "#0000FF")
1770 </pre>
1772 <DD><DL>
1773 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to populate, must not be null<DD><CODE>array</CODE> - an array to populate from, null ignored
1774 <DT><B>Returns:</B><DD>the input map
1775 <DT><B>Throws:</B>
1776 <DD><CODE>java.lang.NullPointerException</CODE> - if map is null
1777 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if sub-array or entry matching used and an
1778 entry is invalid
1779 <DD><CODE>java.lang.ClassCastException</CODE> - if the array contents is mixed<DT><B>Since:</B></DT>
1780 <DD>Commons Collections 3.2</DD>
1781 </DL>
1782 </DD>
1783 </DL>
1784 <HR>
1786 <A NAME="isEmpty(java.util.Map)"><!-- --></A><H3>
1787 isEmpty</H3>
1788 <PRE>
1789 public static boolean <B>isEmpty</B>(java.util.Map&nbsp;map)</PRE>
1790 <DL>
1791 <DD>Null-safe check if the specified map is empty.
1793 Null returns true.
1795 <DD><DL>
1796 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to check, may be null
1797 <DT><B>Returns:</B><DD>true if empty or null<DT><B>Since:</B></DT>
1798 <DD>Commons Collections 3.2</DD>
1799 </DL>
1800 </DD>
1801 </DL>
1802 <HR>
1804 <A NAME="isNotEmpty(java.util.Map)"><!-- --></A><H3>
1805 isNotEmpty</H3>
1806 <PRE>
1807 public static boolean <B>isNotEmpty</B>(java.util.Map&nbsp;map)</PRE>
1808 <DL>
1809 <DD>Null-safe check if the specified map is not empty.
1811 Null returns false.
1813 <DD><DL>
1814 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to check, may be null
1815 <DT><B>Returns:</B><DD>true if non-null and non-empty<DT><B>Since:</B></DT>
1816 <DD>Commons Collections 3.2</DD>
1817 </DL>
1818 </DD>
1819 </DL>
1820 <HR>
1822 <A NAME="synchronizedMap(java.util.Map)"><!-- --></A><H3>
1823 synchronizedMap</H3>
1824 <PRE>
1825 public static java.util.Map <B>synchronizedMap</B>(java.util.Map&nbsp;map)</PRE>
1826 <DL>
1827 <DD>Returns a synchronized map backed by the given map.
1829 You must manually synchronize on the returned buffer's iterator to
1830 avoid non-deterministic behavior:
1832 <pre>
1833 Map m = MapUtils.synchronizedMap(myMap);
1834 Set s = m.keySet(); // outside synchronized block
1835 synchronized (m) { // synchronized on MAP!
1836 Iterator i = s.iterator();
1837 while (i.hasNext()) {
1838 process (i.next());
1841 </pre>
1843 This method uses the implementation in <CODE>Collections</CODE>.
1845 <DD><DL>
1846 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to synchronize, must not be null
1847 <DT><B>Returns:</B><DD>a synchronized map backed by the given map
1848 <DT><B>Throws:</B>
1849 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the map is null</DL>
1850 </DD>
1851 </DL>
1852 <HR>
1854 <A NAME="unmodifiableMap(java.util.Map)"><!-- --></A><H3>
1855 unmodifiableMap</H3>
1856 <PRE>
1857 public static java.util.Map <B>unmodifiableMap</B>(java.util.Map&nbsp;map)</PRE>
1858 <DL>
1859 <DD>Returns an unmodifiable map backed by the given map.
1861 This method uses the implementation in the decorators subpackage.
1863 <DD><DL>
1864 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to make unmodifiable, must not be null
1865 <DT><B>Returns:</B><DD>an unmodifiable map backed by the given map
1866 <DT><B>Throws:</B>
1867 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the map is null</DL>
1868 </DD>
1869 </DL>
1870 <HR>
1872 <A NAME="predicatedMap(java.util.Map, org.apache.commons.collections.Predicate, org.apache.commons.collections.Predicate)"><!-- --></A><H3>
1873 predicatedMap</H3>
1874 <PRE>
1875 public static java.util.Map <B>predicatedMap</B>(java.util.Map&nbsp;map,
1876 <A HREF="../../../../org/apache/commons/collections/Predicate.html" title="interface in org.apache.commons.collections">Predicate</A>&nbsp;keyPred,
1877 <A HREF="../../../../org/apache/commons/collections/Predicate.html" title="interface in org.apache.commons.collections">Predicate</A>&nbsp;valuePred)</PRE>
1878 <DL>
1879 <DD>Returns a predicated (validating) map backed by the given map.
1881 Only objects that pass the tests in the given predicates can be added to the map.
1882 Trying to add an invalid object results in an IllegalArgumentException.
1883 Keys must pass the key predicate, values must pass the value predicate.
1884 It is important not to use the original map after invoking this method,
1885 as it is a backdoor for adding invalid objects.
1887 <DD><DL>
1888 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to predicate, must not be null<DD><CODE>keyPred</CODE> - the predicate for keys, null means no check<DD><CODE>valuePred</CODE> - the predicate for values, null means no check
1889 <DT><B>Returns:</B><DD>a predicated map backed by the given map
1890 <DT><B>Throws:</B>
1891 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the Map is null</DL>
1892 </DD>
1893 </DL>
1894 <HR>
1896 <A NAME="typedMap(java.util.Map, java.lang.Class, java.lang.Class)"><!-- --></A><H3>
1897 typedMap</H3>
1898 <PRE>
1899 public static java.util.Map <B>typedMap</B>(java.util.Map&nbsp;map,
1900 java.lang.Class&nbsp;keyType,
1901 java.lang.Class&nbsp;valueType)</PRE>
1902 <DL>
1903 <DD>Returns a typed map backed by the given map.
1905 Only keys and values of the specified types can be added to the map.
1907 <DD><DL>
1908 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to limit to a specific type, must not be null<DD><CODE>keyType</CODE> - the type of keys which may be added to the map, must not be null<DD><CODE>valueType</CODE> - the type of values which may be added to the map, must not be null
1909 <DT><B>Returns:</B><DD>a typed map backed by the specified map
1910 <DT><B>Throws:</B>
1911 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the Map or Class is null</DL>
1912 </DD>
1913 </DL>
1914 <HR>
1916 <A NAME="transformedMap(java.util.Map, org.apache.commons.collections.Transformer, org.apache.commons.collections.Transformer)"><!-- --></A><H3>
1917 transformedMap</H3>
1918 <PRE>
1919 public static java.util.Map <B>transformedMap</B>(java.util.Map&nbsp;map,
1920 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;keyTransformer,
1921 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;valueTransformer)</PRE>
1922 <DL>
1923 <DD>Returns a transformed map backed by the given map.
1925 This method returns a new map (decorating the specified map) that
1926 will transform any new entries added to it.
1927 Existing entries in the specified map will not be transformed.
1928 If you want that behaviour, see <A HREF="../../../../org/apache/commons/collections/map/TransformedMap.html#decorateTransform(java.util.Map, org.apache.commons.collections.Transformer, org.apache.commons.collections.Transformer)"><CODE>TransformedMap.decorateTransform(java.util.Map, org.apache.commons.collections.Transformer, org.apache.commons.collections.Transformer)</CODE></A>.
1930 Each object is passed through the transformers as it is added to the
1931 Map. It is important not to use the original map after invoking this
1932 method, as it is a backdoor for adding untransformed objects.
1934 If there are any elements already in the map being decorated, they
1935 are NOT transformed.
1937 <DD><DL>
1938 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to transform, must not be null, typically empty<DD><CODE>keyTransformer</CODE> - the transformer for the map keys, null means no transformation<DD><CODE>valueTransformer</CODE> - the transformer for the map values, null means no transformation
1939 <DT><B>Returns:</B><DD>a transformed map backed by the given map
1940 <DT><B>Throws:</B>
1941 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the Map is null</DL>
1942 </DD>
1943 </DL>
1944 <HR>
1946 <A NAME="fixedSizeMap(java.util.Map)"><!-- --></A><H3>
1947 fixedSizeMap</H3>
1948 <PRE>
1949 public static java.util.Map <B>fixedSizeMap</B>(java.util.Map&nbsp;map)</PRE>
1950 <DL>
1951 <DD>Returns a fixed-sized map backed by the given map.
1952 Elements may not be added or removed from the returned map, but
1953 existing elements can be changed (for instance, via the
1954 <CODE>Map.put(Object,Object)</CODE> method).
1956 <DD><DL>
1957 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose size to fix, must not be null
1958 <DT><B>Returns:</B><DD>a fixed-size map backed by that map
1959 <DT><B>Throws:</B>
1960 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the Map is null</DL>
1961 </DD>
1962 </DL>
1963 <HR>
1965 <A NAME="lazyMap(java.util.Map, org.apache.commons.collections.Factory)"><!-- --></A><H3>
1966 lazyMap</H3>
1967 <PRE>
1968 public static java.util.Map <B>lazyMap</B>(java.util.Map&nbsp;map,
1969 <A HREF="../../../../org/apache/commons/collections/Factory.html" title="interface in org.apache.commons.collections">Factory</A>&nbsp;factory)</PRE>
1970 <DL>
1971 <DD>Returns a "lazy" map whose values will be created on demand.
1973 When the key passed to the returned map's <CODE>Map.get(Object)</CODE>
1974 method is not present in the map, then the factory will be used
1975 to create a new object and that object will become the value
1976 associated with that key.
1978 For instance:
1979 <pre>
1980 Factory factory = new Factory() {
1981 public Object create() {
1982 return new Date();
1985 Map lazyMap = MapUtils.lazyMap(new HashMap(), factory);
1986 Object obj = lazyMap.get("test");
1987 </pre>
1989 After the above code is executed, <code>obj</code> will contain
1990 a new <code>Date</code> instance. Furthermore, that <code>Date</code>
1991 instance is the value for the <code>"test"</code> key in the map.
1993 <DD><DL>
1994 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to make lazy, must not be null<DD><CODE>factory</CODE> - the factory for creating new objects, must not be null
1995 <DT><B>Returns:</B><DD>a lazy map backed by the given map
1996 <DT><B>Throws:</B>
1997 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the Map or Factory is null</DL>
1998 </DD>
1999 </DL>
2000 <HR>
2002 <A NAME="lazyMap(java.util.Map, org.apache.commons.collections.Transformer)"><!-- --></A><H3>
2003 lazyMap</H3>
2004 <PRE>
2005 public static java.util.Map <B>lazyMap</B>(java.util.Map&nbsp;map,
2006 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;transformerFactory)</PRE>
2007 <DL>
2008 <DD>Returns a "lazy" map whose values will be created on demand.
2010 When the key passed to the returned map's <CODE>Map.get(Object)</CODE>
2011 method is not present in the map, then the factory will be used
2012 to create a new object and that object will become the value
2013 associated with that key. The factory is a <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections"><CODE>Transformer</CODE></A>
2014 that will be passed the key which it must transform into the value.
2016 For instance:
2017 <pre>
2018 Transformer factory = new Transformer() {
2019 public Object transform(Object mapKey) {
2020 return new File(mapKey);
2023 Map lazyMap = MapUtils.lazyMap(new HashMap(), factory);
2024 Object obj = lazyMap.get("C:/dev");
2025 </pre>
2027 After the above code is executed, <code>obj</code> will contain
2028 a new <code>File</code> instance for the C drive dev directory.
2029 Furthermore, that <code>File</code> instance is the value for the
2030 <code>"C:/dev"</code> key in the map.
2032 If a lazy map is wrapped by a synchronized map, the result is a simple
2033 synchronized cache. When an object is not is the cache, the cache itself
2034 calls back to the factory Transformer to populate itself, all within the
2035 same synchronized block.
2037 <DD><DL>
2038 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to make lazy, must not be null<DD><CODE>transformerFactory</CODE> - the factory for creating new objects, must not be null
2039 <DT><B>Returns:</B><DD>a lazy map backed by the given map
2040 <DT><B>Throws:</B>
2041 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the Map or Transformer is null</DL>
2042 </DD>
2043 </DL>
2044 <HR>
2046 <A NAME="orderedMap(java.util.Map)"><!-- --></A><H3>
2047 orderedMap</H3>
2048 <PRE>
2049 public static java.util.Map <B>orderedMap</B>(java.util.Map&nbsp;map)</PRE>
2050 <DL>
2051 <DD>Returns a map that maintains the order of keys that are added
2052 backed by the given map.
2054 If a key is added twice, the order is determined by the first add.
2055 The order is observed through the keySet, values and entrySet.
2057 <DD><DL>
2058 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to order, must not be null
2059 <DT><B>Returns:</B><DD>an ordered map backed by the given map
2060 <DT><B>Throws:</B>
2061 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the Map is null</DL>
2062 </DD>
2063 </DL>
2064 <HR>
2066 <A NAME="multiValueMap(java.util.Map)"><!-- --></A><H3>
2067 multiValueMap</H3>
2068 <PRE>
2069 public static java.util.Map <B>multiValueMap</B>(java.util.Map&nbsp;map)</PRE>
2070 <DL>
2071 <DD>Creates a mult-value map backed by the given map which returns
2072 collections of type ArrayList.
2074 <DD><DL>
2075 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to decorate
2076 <DT><B>Returns:</B><DD>a multi-value map backed by the given map which returns ArrayLists of values.<DT><B>Since:</B></DT>
2077 <DD>Commons Collections 3.2</DD>
2078 <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/commons/collections/map/MultiValueMap.html" title="class in org.apache.commons.collections.map"><CODE>MultiValueMap</CODE></A></DL>
2079 </DD>
2080 </DL>
2081 <HR>
2083 <A NAME="multiValueMap(java.util.Map, java.lang.Class)"><!-- --></A><H3>
2084 multiValueMap</H3>
2085 <PRE>
2086 public static java.util.Map <B>multiValueMap</B>(java.util.Map&nbsp;map,
2087 java.lang.Class&nbsp;collectionClass)</PRE>
2088 <DL>
2089 <DD>Creates a multi-value map backed by the given map which returns
2090 collections of the specified type.
2092 <DD><DL>
2093 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to decorate<DD><CODE>collectionClass</CODE> - the type of collections to return from the map (must contain public no-arg constructor
2094 and extend Collection).
2095 <DT><B>Returns:</B><DD>a multi-value map backed by the given map which returns collections of the specified type<DT><B>Since:</B></DT>
2096 <DD>Commons Collections 3.2</DD>
2097 <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/commons/collections/map/MultiValueMap.html" title="class in org.apache.commons.collections.map"><CODE>MultiValueMap</CODE></A></DL>
2098 </DD>
2099 </DL>
2100 <HR>
2102 <A NAME="multiValueMap(java.util.Map, org.apache.commons.collections.Factory)"><!-- --></A><H3>
2103 multiValueMap</H3>
2104 <PRE>
2105 public static java.util.Map <B>multiValueMap</B>(java.util.Map&nbsp;map,
2106 <A HREF="../../../../org/apache/commons/collections/Factory.html" title="interface in org.apache.commons.collections">Factory</A>&nbsp;collectionFactory)</PRE>
2107 <DL>
2108 <DD>Creates a multi-value map backed by the given map which returns
2109 collections created by the specified collection factory.
2111 <DD><DL>
2112 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to decorate<DD><CODE>collectionFactory</CODE> - a factor which creates collection objects
2113 <DT><B>Returns:</B><DD>a multi-value map backed by the given map which returns collections
2114 created by the specified collection factory<DT><B>Since:</B></DT>
2115 <DD>Commons Collections 3.2</DD>
2116 <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/commons/collections/map/MultiValueMap.html" title="class in org.apache.commons.collections.map"><CODE>MultiValueMap</CODE></A></DL>
2117 </DD>
2118 </DL>
2119 <HR>
2121 <A NAME="synchronizedSortedMap(java.util.SortedMap)"><!-- --></A><H3>
2122 synchronizedSortedMap</H3>
2123 <PRE>
2124 public static java.util.Map <B>synchronizedSortedMap</B>(java.util.SortedMap&nbsp;map)</PRE>
2125 <DL>
2126 <DD>Returns a synchronized sorted map backed by the given sorted map.
2128 You must manually synchronize on the returned buffer's iterator to
2129 avoid non-deterministic behavior:
2131 <pre>
2132 Map m = MapUtils.synchronizedSortedMap(myMap);
2133 Set s = m.keySet(); // outside synchronized block
2134 synchronized (m) { // synchronized on MAP!
2135 Iterator i = s.iterator();
2136 while (i.hasNext()) {
2137 process (i.next());
2140 </pre>
2142 This method uses the implementation in <CODE>Collections</CODE>.
2144 <DD><DL>
2145 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to synchronize, must not be null
2146 <DT><B>Returns:</B><DD>a synchronized map backed by the given map
2147 <DT><B>Throws:</B>
2148 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the map is null</DL>
2149 </DD>
2150 </DL>
2151 <HR>
2153 <A NAME="unmodifiableSortedMap(java.util.SortedMap)"><!-- --></A><H3>
2154 unmodifiableSortedMap</H3>
2155 <PRE>
2156 public static java.util.Map <B>unmodifiableSortedMap</B>(java.util.SortedMap&nbsp;map)</PRE>
2157 <DL>
2158 <DD>Returns an unmodifiable sorted map backed by the given sorted map.
2160 This method uses the implementation in the decorators subpackage.
2162 <DD><DL>
2163 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the sorted map to make unmodifiable, must not be null
2164 <DT><B>Returns:</B><DD>an unmodifiable map backed by the given map
2165 <DT><B>Throws:</B>
2166 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the map is null</DL>
2167 </DD>
2168 </DL>
2169 <HR>
2171 <A NAME="predicatedSortedMap(java.util.SortedMap, org.apache.commons.collections.Predicate, org.apache.commons.collections.Predicate)"><!-- --></A><H3>
2172 predicatedSortedMap</H3>
2173 <PRE>
2174 public static java.util.SortedMap <B>predicatedSortedMap</B>(java.util.SortedMap&nbsp;map,
2175 <A HREF="../../../../org/apache/commons/collections/Predicate.html" title="interface in org.apache.commons.collections">Predicate</A>&nbsp;keyPred,
2176 <A HREF="../../../../org/apache/commons/collections/Predicate.html" title="interface in org.apache.commons.collections">Predicate</A>&nbsp;valuePred)</PRE>
2177 <DL>
2178 <DD>Returns a predicated (validating) sorted map backed by the given map.
2180 Only objects that pass the tests in the given predicates can be added to the map.
2181 Trying to add an invalid object results in an IllegalArgumentException.
2182 Keys must pass the key predicate, values must pass the value predicate.
2183 It is important not to use the original map after invoking this method,
2184 as it is a backdoor for adding invalid objects.
2186 <DD><DL>
2187 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to predicate, must not be null<DD><CODE>keyPred</CODE> - the predicate for keys, null means no check<DD><CODE>valuePred</CODE> - the predicate for values, null means no check
2188 <DT><B>Returns:</B><DD>a predicated map backed by the given map
2189 <DT><B>Throws:</B>
2190 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the SortedMap is null</DL>
2191 </DD>
2192 </DL>
2193 <HR>
2195 <A NAME="typedSortedMap(java.util.SortedMap, java.lang.Class, java.lang.Class)"><!-- --></A><H3>
2196 typedSortedMap</H3>
2197 <PRE>
2198 public static java.util.SortedMap <B>typedSortedMap</B>(java.util.SortedMap&nbsp;map,
2199 java.lang.Class&nbsp;keyType,
2200 java.lang.Class&nbsp;valueType)</PRE>
2201 <DL>
2202 <DD>Returns a typed sorted map backed by the given map.
2204 Only keys and values of the specified types can be added to the map.
2206 <DD><DL>
2207 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to limit to a specific type, must not be null<DD><CODE>keyType</CODE> - the type of keys which may be added to the map, must not be null<DD><CODE>valueType</CODE> - the type of values which may be added to the map, must not be null
2208 <DT><B>Returns:</B><DD>a typed map backed by the specified map</DL>
2209 </DD>
2210 </DL>
2211 <HR>
2213 <A NAME="transformedSortedMap(java.util.SortedMap, org.apache.commons.collections.Transformer, org.apache.commons.collections.Transformer)"><!-- --></A><H3>
2214 transformedSortedMap</H3>
2215 <PRE>
2216 public static java.util.SortedMap <B>transformedSortedMap</B>(java.util.SortedMap&nbsp;map,
2217 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;keyTransformer,
2218 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;valueTransformer)</PRE>
2219 <DL>
2220 <DD>Returns a transformed sorted map backed by the given map.
2222 This method returns a new sorted map (decorating the specified map) that
2223 will transform any new entries added to it.
2224 Existing entries in the specified map will not be transformed.
2225 If you want that behaviour, see <A HREF="../../../../org/apache/commons/collections/map/TransformedSortedMap.html#decorateTransform(java.util.SortedMap, org.apache.commons.collections.Transformer, org.apache.commons.collections.Transformer)"><CODE>TransformedSortedMap.decorateTransform(java.util.SortedMap, org.apache.commons.collections.Transformer, org.apache.commons.collections.Transformer)</CODE></A>.
2227 Each object is passed through the transformers as it is added to the
2228 Map. It is important not to use the original map after invoking this
2229 method, as it is a backdoor for adding untransformed objects.
2231 If there are any elements already in the map being decorated, they
2232 are NOT transformed.
2234 <DD><DL>
2235 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to transform, must not be null, typically empty<DD><CODE>keyTransformer</CODE> - the transformer for the map keys, null means no transformation<DD><CODE>valueTransformer</CODE> - the transformer for the map values, null means no transformation
2236 <DT><B>Returns:</B><DD>a transformed map backed by the given map
2237 <DT><B>Throws:</B>
2238 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the SortedMap is null</DL>
2239 </DD>
2240 </DL>
2241 <HR>
2243 <A NAME="fixedSizeSortedMap(java.util.SortedMap)"><!-- --></A><H3>
2244 fixedSizeSortedMap</H3>
2245 <PRE>
2246 public static java.util.SortedMap <B>fixedSizeSortedMap</B>(java.util.SortedMap&nbsp;map)</PRE>
2247 <DL>
2248 <DD>Returns a fixed-sized sorted map backed by the given sorted map.
2249 Elements may not be added or removed from the returned map, but
2250 existing elements can be changed (for instance, via the
2251 <CODE>Map.put(Object,Object)</CODE> method).
2253 <DD><DL>
2254 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map whose size to fix, must not be null
2255 <DT><B>Returns:</B><DD>a fixed-size map backed by that map
2256 <DT><B>Throws:</B>
2257 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the SortedMap is null</DL>
2258 </DD>
2259 </DL>
2260 <HR>
2262 <A NAME="lazySortedMap(java.util.SortedMap, org.apache.commons.collections.Factory)"><!-- --></A><H3>
2263 lazySortedMap</H3>
2264 <PRE>
2265 public static java.util.SortedMap <B>lazySortedMap</B>(java.util.SortedMap&nbsp;map,
2266 <A HREF="../../../../org/apache/commons/collections/Factory.html" title="interface in org.apache.commons.collections">Factory</A>&nbsp;factory)</PRE>
2267 <DL>
2268 <DD>Returns a "lazy" sorted map whose values will be created on demand.
2270 When the key passed to the returned map's <CODE>Map.get(Object)</CODE>
2271 method is not present in the map, then the factory will be used
2272 to create a new object and that object will become the value
2273 associated with that key.
2275 For instance:
2277 <pre>
2278 Factory factory = new Factory() {
2279 public Object create() {
2280 return new Date();
2283 SortedMap lazy = MapUtils.lazySortedMap(new TreeMap(), factory);
2284 Object obj = lazy.get("test");
2285 </pre>
2287 After the above code is executed, <code>obj</code> will contain
2288 a new <code>Date</code> instance. Furthermore, that <code>Date</code>
2289 instance is the value for the <code>"test"</code> key.
2291 <DD><DL>
2292 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to make lazy, must not be null<DD><CODE>factory</CODE> - the factory for creating new objects, must not be null
2293 <DT><B>Returns:</B><DD>a lazy map backed by the given map
2294 <DT><B>Throws:</B>
2295 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the SortedMap or Factory is null</DL>
2296 </DD>
2297 </DL>
2298 <HR>
2300 <A NAME="lazySortedMap(java.util.SortedMap, org.apache.commons.collections.Transformer)"><!-- --></A><H3>
2301 lazySortedMap</H3>
2302 <PRE>
2303 public static java.util.SortedMap <B>lazySortedMap</B>(java.util.SortedMap&nbsp;map,
2304 <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A>&nbsp;transformerFactory)</PRE>
2305 <DL>
2306 <DD>Returns a "lazy" sorted map whose values will be created on demand.
2308 When the key passed to the returned map's <CODE>Map.get(Object)</CODE>
2309 method is not present in the map, then the factory will be used
2310 to create a new object and that object will become the value
2311 associated with that key. The factory is a <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections"><CODE>Transformer</CODE></A>
2312 that will be passed the key which it must transform into the value.
2314 For instance:
2315 <pre>
2316 Transformer factory = new Transformer() {
2317 public Object transform(Object mapKey) {
2318 return new File(mapKey);
2321 SortedMap lazy = MapUtils.lazySortedMap(new TreeMap(), factory);
2322 Object obj = lazy.get("C:/dev");
2323 </pre>
2325 After the above code is executed, <code>obj</code> will contain
2326 a new <code>File</code> instance for the C drive dev directory.
2327 Furthermore, that <code>File</code> instance is the value for the
2328 <code>"C:/dev"</code> key in the map.
2330 If a lazy map is wrapped by a synchronized map, the result is a simple
2331 synchronized cache. When an object is not is the cache, the cache itself
2332 calls back to the factory Transformer to populate itself, all within the
2333 same synchronized block.
2335 <DD><DL>
2336 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the map to make lazy, must not be null<DD><CODE>transformerFactory</CODE> - the factory for creating new objects, must not be null
2337 <DT><B>Returns:</B><DD>a lazy map backed by the given map
2338 <DT><B>Throws:</B>
2339 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the Map or Transformer is null</DL>
2340 </DD>
2341 </DL>
2342 <!-- ========= END OF CLASS DATA ========= -->
2343 <HR>
2346 <!-- ======= START OF BOTTOM NAVBAR ====== -->
2347 <A NAME="navbar_bottom"><!-- --></A>
2348 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
2349 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
2350 <TR>
2351 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
2352 <A NAME="navbar_bottom_firstrow"><!-- --></A>
2353 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
2354 <TR ALIGN="center" VALIGN="top">
2355 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
2356 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
2357 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
2358 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MapUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
2359 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
2360 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
2361 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
2362 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
2363 </TR>
2364 </TABLE>
2365 </TD>
2366 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
2367 </EM>
2368 </TD>
2369 </TR>
2371 <TR>
2372 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2373 &nbsp;<A HREF="../../../../org/apache/commons/collections/MapIterator.html" title="interface in org.apache.commons.collections"><B>PREV CLASS</B></A>&nbsp;
2374 &nbsp;<A HREF="../../../../org/apache/commons/collections/MultiHashMap.html" title="class in org.apache.commons.collections"><B>NEXT CLASS</B></A></FONT></TD>
2375 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2376 <A HREF="../../../../index.html?org/apache/commons/collections/MapUtils.html" target="_top"><B>FRAMES</B></A> &nbsp;
2377 &nbsp;<A HREF="MapUtils.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
2378 &nbsp;<SCRIPT type="text/javascript">
2379 <!--
2380 if(window==top) {
2381 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
2383 //-->
2384 </SCRIPT>
2385 <NOSCRIPT>
2386 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
2387 </NOSCRIPT>
2390 </FONT></TD>
2391 </TR>
2392 <TR>
2393 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2394 SUMMARY:&nbsp;NESTED&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>
2395 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2396 DETAIL:&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>
2397 </TR>
2398 </TABLE>
2399 <A NAME="skip-navbar_bottom"></A>
2400 <!-- ======== END OF BOTTOM NAVBAR ======= -->
2402 <HR>
2403 Copyright © 2001-2008 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
2404 </BODY>
2405 </HTML>