1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.5.0_07) on Fri Apr 11 15:39:16 BST 2008 -->
6 <META http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
8 BoundedMap (Commons Collections
3.2.1 API)
11 <META NAME=
"keywords" CONTENT=
"org.apache.commons.collections.BoundedMap interface">
13 <LINK REL =
"stylesheet" TYPE=
"text/css" HREF=
"../../../../stylesheet.css" TITLE=
"Style">
15 <SCRIPT type=
"text/javascript">
16 function windowTitle()
18 parent.document.
title=
"BoundedMap (Commons Collections 3.2.1 API)";
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=
"">
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> </TD>
39 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
40 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
41 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"class-use/BoundedMap.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </TD>
42 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
43 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
44 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
45 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
49 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
55 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
56 <A HREF=
"../../../../org/apache/commons/collections/BoundedFifoBuffer.html" title=
"class in org.apache.commons.collections"><B>PREV CLASS
</B></A>
57 <A HREF=
"../../../../org/apache/commons/collections/Buffer.html" title=
"interface 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/BoundedMap.html" target=
"_top"><B>FRAMES
</B></A>
60 <A HREF=
"BoundedMap.html" target=
"_top"><B>NO FRAMES
</B></A>
61 <SCRIPT type=
"text/javascript">
64 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
69 <A HREF=
"../../../../allclasses-noframe.html"><B>All Classes
</B></A>
76 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
77 SUMMARY:
NESTED
|
FIELD
|
CONSTR
|
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
78 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
79 DETAIL:
FIELD
|
CONSTR
|
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
82 <A NAME=
"skip-navbar_top"></A>
83 <!-- ========= END OF TOP NAVBAR ========= -->
86 <!-- ======== START OF CLASS DATA ======== -->
89 org.apache.commons.collections
</FONT>
91 Interface BoundedMap
</H2>
93 <DT><B>All Superinterfaces:
</B> <DD>java.util.Map
</DD>
96 <DT><B>All Known Implementing Classes:
</B> <DD><A HREF=
"../../../../org/apache/commons/collections/map/FixedSizeMap.html" title=
"class in org.apache.commons.collections.map">FixedSizeMap
</A>,
<A HREF=
"../../../../org/apache/commons/collections/map/FixedSizeSortedMap.html" title=
"class in org.apache.commons.collections.map">FixedSizeSortedMap
</A>,
<A HREF=
"../../../../org/apache/commons/collections/map/LRUMap.html" title=
"class in org.apache.commons.collections.map">LRUMap
</A>,
<A HREF=
"../../../../org/apache/commons/collections/map/SingletonMap.html" title=
"class in org.apache.commons.collections.map">SingletonMap
</A></DD>
100 <DT><PRE>public interface
<B>BoundedMap
</B><DT>extends java.util.Map
</DL>
104 Defines a map that is bounded in size.
106 The size of the map can vary, but it can never exceed a preset
107 maximum number of elements. This interface allows the querying of details
108 associated with the maximum number of elements.
113 <DT><B>Since:
</B></DT>
114 <DD>Commons Collections
3.0</DD>
115 <DT><B>Version:
</B></DT>
116 <DD>$Revision:
646777 $ $Date:
2008-
04-
10 13:
33:
15 +
0100 (Thu,
10 Apr
2008) $
</DD>
117 <DT><B>Author:
</B></DT>
118 <DD>Stephen Colebourne
</DD>
123 <!-- ======== NESTED CLASS SUMMARY ======== -->
125 <A NAME=
"nested_class_summary"><!-- --></A>
126 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
127 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
128 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
129 <B>Nested Class Summary
</B></FONT></TH>
132 <A NAME=
"nested_classes_inherited_from_class_java.util.Map"><!-- --></A>
133 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
134 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
135 <TH ALIGN=
"left"><B>Nested classes/interfaces inherited from interface java.util.Map
</B></TH>
137 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
138 <TD><CODE>java.util.Map.Entry
</CODE></TD>
143 <!-- ========== METHOD SUMMARY =========== -->
145 <A NAME=
"method_summary"><!-- --></A>
146 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
147 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
148 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
149 <B>Method Summary
</B></FONT></TH>
151 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
152 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
153 <CODE> boolean
</CODE></FONT></TD>
154 <TD><CODE><B><A HREF=
"../../../../org/apache/commons/collections/BoundedMap.html#isFull()">isFull
</A></B>()
</CODE>
157 Returns true if this map is full and no new elements can be added.
</TD>
159 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
160 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
161 <CODE> int
</CODE></FONT></TD>
162 <TD><CODE><B><A HREF=
"../../../../org/apache/commons/collections/BoundedMap.html#maxSize()">maxSize
</A></B>()
</CODE>
165 Gets the maximum size of the map (the bound).
</TD>
168 <A NAME=
"methods_inherited_from_class_java.util.Map"><!-- --></A>
169 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
170 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
171 <TH ALIGN=
"left"><B>Methods inherited from interface java.util.Map
</B></TH>
173 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
174 <TD><CODE>clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
</CODE></TD>
180 <!-- ============ METHOD DETAIL ========== -->
182 <A NAME=
"method_detail"><!-- --></A>
183 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
184 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
185 <TH ALIGN=
"left" COLSPAN=
"1"><FONT SIZE=
"+2">
186 <B>Method Detail
</B></FONT></TH>
190 <A NAME=
"isFull()"><!-- --></A><H3>
193 boolean
<B>isFull
</B>()
</PRE>
195 <DD>Returns true if this map is full and no new elements can be added.
202 <DT><B>Returns:
</B><DD><code>true
</code> if the map is full
</DL>
207 <A NAME=
"maxSize()"><!-- --></A><H3>
210 int
<B>maxSize
</B>()
</PRE>
212 <DD>Gets the maximum size of the map (the bound).
219 <DT><B>Returns:
</B><DD>the maximum number of elements the map can hold
</DL>
222 <!-- ========= END OF CLASS DATA ========= -->
226 <!-- ======= START OF BOTTOM NAVBAR ====== -->
227 <A NAME=
"navbar_bottom"><!-- --></A>
228 <A HREF=
"#skip-navbar_bottom" title=
"Skip navigation links"></A>
229 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0" SUMMARY=
"">
231 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
232 <A NAME=
"navbar_bottom_firstrow"><!-- --></A>
233 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3" SUMMARY=
"">
234 <TR ALIGN=
"center" VALIGN=
"top">
235 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
236 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
237 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
238 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"class-use/BoundedMap.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </TD>
239 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
240 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
241 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
242 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
246 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
252 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
253 <A HREF=
"../../../../org/apache/commons/collections/BoundedFifoBuffer.html" title=
"class in org.apache.commons.collections"><B>PREV CLASS
</B></A>
254 <A HREF=
"../../../../org/apache/commons/collections/Buffer.html" title=
"interface in org.apache.commons.collections"><B>NEXT CLASS
</B></A></FONT></TD>
255 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
256 <A HREF=
"../../../../index.html?org/apache/commons/collections/BoundedMap.html" target=
"_top"><B>FRAMES
</B></A>
257 <A HREF=
"BoundedMap.html" target=
"_top"><B>NO FRAMES
</B></A>
258 <SCRIPT type=
"text/javascript">
261 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
266 <A HREF=
"../../../../allclasses-noframe.html"><B>All Classes
</B></A>
273 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
274 SUMMARY:
NESTED
|
FIELD
|
CONSTR
|
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
275 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
276 DETAIL:
FIELD
|
CONSTR
|
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
279 <A NAME=
"skip-navbar_bottom"></A>
280 <!-- ======== END OF BOTTOM NAVBAR ======= -->
283 Copyright ©
2001-
2008 <a href=
"http://www.apache.org/">The Apache Software Foundation
</a>. All Rights Reserved.