1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.5.0_07) on Fri Apr 11 15:39:23 BST 2008 -->
6 <META http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
8 org.apache.commons.collections.set (Commons Collections
3.2.1 API)
11 <META NAME=
"keywords" CONTENT=
"org.apache.commons.collections.set package">
13 <LINK REL =
"stylesheet" TYPE=
"text/css" HREF=
"../../../../../stylesheet.css" TITLE=
"Style">
15 <SCRIPT type=
"text/javascript">
16 function windowTitle()
18 parent.document.
title=
"org.apache.commons.collections.set (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=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Package
</B></FONT> </TD>
40 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <FONT CLASS=
"NavBarFont1">Class
</FONT> </TD>
41 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-use.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/map/package-summary.html"><B>PREV PACKAGE
</B></A>
57 NEXT PACKAGE
</FONT></TD>
58 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
59 <A HREF=
"../../../../../index.html?org/apache/commons/collections/set/package-summary.html" target=
"_top"><B>FRAMES
</B></A>
60 <A HREF=
"package-summary.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 <A NAME=
"skip-navbar_top"></A>
77 <!-- ========= END OF TOP NAVBAR ========= -->
81 Package org.apache.commons.collections.set
84 This package contains implementations of the
86 <CODE>SortedSet
</CODE> interfaces.
90 <A HREF=
"#package_description"><B>Description
</B></A>
93 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
94 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
95 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
96 <B>Interface Summary
</B></FONT></TH>
98 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
99 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/CompositeSet.SetMutator.html" title=
"interface in org.apache.commons.collections.set">CompositeSet.SetMutator
</A></B></TD>
100 <TD>Define callbacks for mutation operations.
</TD>
107 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
108 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
109 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
110 <B>Class Summary
</B></FONT></TH>
112 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
113 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/AbstractSerializableSetDecorator.html" title=
"class in org.apache.commons.collections.set">AbstractSerializableSetDecorator
</A></B></TD>
114 <TD>Serializable subclass of AbstractSetDecorator.
</TD>
116 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
117 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/AbstractSetDecorator.html" title=
"class in org.apache.commons.collections.set">AbstractSetDecorator
</A></B></TD>
118 <TD>Decorates another
<code>Set
</code> to provide additional behaviour.
</TD>
120 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
121 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/AbstractSortedSetDecorator.html" title=
"class in org.apache.commons.collections.set">AbstractSortedSetDecorator
</A></B></TD>
122 <TD>Decorates another
<code>SortedSet
</code> to provide additional behaviour.
</TD>
124 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
125 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/CompositeSet.html" title=
"class in org.apache.commons.collections.set">CompositeSet
</A></B></TD>
126 <TD>Decorates a set of other sets to provide a single unified view.
</TD>
128 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
129 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/ListOrderedSet.html" title=
"class in org.apache.commons.collections.set">ListOrderedSet
</A></B></TD>
130 <TD>Decorates another
<code>Set
</code> to ensure that the order of addition
131 is retained and used by the iterator.
</TD>
133 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
134 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/MapBackedSet.html" title=
"class in org.apache.commons.collections.set">MapBackedSet
</A></B></TD>
135 <TD>Decorates a
<code>Map
</code> to obtain
<code>Set
</code> behaviour.
</TD>
137 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
138 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/PredicatedSet.html" title=
"class in org.apache.commons.collections.set">PredicatedSet
</A></B></TD>
139 <TD>Decorates another
<code>Set
</code> to validate that all additions
140 match a specified predicate.
</TD>
142 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
143 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/PredicatedSortedSet.html" title=
"class in org.apache.commons.collections.set">PredicatedSortedSet
</A></B></TD>
144 <TD>Decorates another
<code>SortedSet
</code> to validate that all additions
145 match a specified predicate.
</TD>
147 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
148 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/SynchronizedSet.html" title=
"class in org.apache.commons.collections.set">SynchronizedSet
</A></B></TD>
149 <TD>Decorates another
<code>Set
</code> to synchronize its behaviour for a
150 multi-threaded environment.
</TD>
152 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
153 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/SynchronizedSortedSet.html" title=
"class in org.apache.commons.collections.set">SynchronizedSortedSet
</A></B></TD>
154 <TD>Decorates another
<code>SortedSet
</code> to synchronize its behaviour
155 for a multi-threaded environment.
</TD>
157 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
158 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/TransformedSet.html" title=
"class in org.apache.commons.collections.set">TransformedSet
</A></B></TD>
159 <TD>Decorates another
<code>Set
</code> to transform objects that are added.
</TD>
161 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
162 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/TransformedSortedSet.html" title=
"class in org.apache.commons.collections.set">TransformedSortedSet
</A></B></TD>
163 <TD>Decorates another
<code>SortedSet
</code> to transform objects that are added.
</TD>
165 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
166 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/TypedSet.html" title=
"class in org.apache.commons.collections.set">TypedSet
</A></B></TD>
167 <TD>Decorates another
<code>Set
</code> to validate that elements
168 added are of a specific type.
</TD>
170 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
171 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/TypedSortedSet.html" title=
"class in org.apache.commons.collections.set">TypedSortedSet
</A></B></TD>
172 <TD>Decorates another
<code>SortedSet
</code> to validate that elements
173 added are of a specific type.
</TD>
175 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
176 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/UnmodifiableSet.html" title=
"class in org.apache.commons.collections.set">UnmodifiableSet
</A></B></TD>
177 <TD>Decorates another
<code>Set
</code> to ensure it can't be altered.
</TD>
179 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
180 <TD WIDTH=
"15%"><B><A HREF=
"../../../../../org/apache/commons/collections/set/UnmodifiableSortedSet.html" title=
"class in org.apache.commons.collections.set">UnmodifiableSortedSet
</A></B></TD>
181 <TD>Decorates another
<code>SortedSet
</code> to ensure it can't be altered.
</TD>
187 <A NAME=
"package_description"><!-- --></A><H2>
188 Package org.apache.commons.collections.set Description
193 This package contains implementations of the
195 <CODE>SortedSet
</CODE> interfaces.
197 The implementations are in the form of direct implementations and decorators.
198 A decorator wraps another implementation of the interface to add some
199 specific additional functionality.
201 The following implementations are provided in the package:
203 <li>CompositeSet - a set that combines multiple sets into one
205 The following decorators are provided in the package:
207 <li>Synchronized - synchronizes method access for multi-threaded environments
208 <li>Unmodifiable - ensures the collection cannot be altered
209 <li>Predicated - ensures that only elements that are valid according to a predicate can be added
210 <li>Typed - ensures that only elements that are of a specific type can be added
211 <li>Transformed - transforms each element added
212 <li>ListOrdered - ensures that insertion order is retained
213 <li>MapBackedSet - a set formed by decorating a Map
224 <!-- ======= START OF BOTTOM NAVBAR ====== -->
225 <A NAME=
"navbar_bottom"><!-- --></A>
226 <A HREF=
"#skip-navbar_bottom" title=
"Skip navigation links"></A>
227 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0" SUMMARY=
"">
229 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
230 <A NAME=
"navbar_bottom_firstrow"><!-- --></A>
231 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3" SUMMARY=
"">
232 <TR ALIGN=
"center" VALIGN=
"top">
233 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
234 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Package
</B></FONT> </TD>
235 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <FONT CLASS=
"NavBarFont1">Class
</FONT> </TD>
236 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-use.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </TD>
237 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
238 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
239 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
240 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
244 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
250 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
251 <A HREF=
"../../../../../org/apache/commons/collections/map/package-summary.html"><B>PREV PACKAGE
</B></A>
252 NEXT PACKAGE
</FONT></TD>
253 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
254 <A HREF=
"../../../../../index.html?org/apache/commons/collections/set/package-summary.html" target=
"_top"><B>FRAMES
</B></A>
255 <A HREF=
"package-summary.html" target=
"_top"><B>NO FRAMES
</B></A>
256 <SCRIPT type=
"text/javascript">
259 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
264 <A HREF=
"../../../../../allclasses-noframe.html"><B>All Classes
</B></A>
271 <A NAME=
"skip-navbar_bottom"></A>
272 <!-- ======== END OF BOTTOM NAVBAR ======= -->
275 Copyright ©
2001-
2008 <a href=
"http://www.apache.org/">The Apache Software Foundation
</a>. All Rights Reserved.