Debian Codegraph @

src/java/org/apache/commons/collections/bag/package.html

raw
1 <!-- $Id: package.html 646777 2008-04-10 12:33:15Z niallp $ -->
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <BODY>
19 <p>
20 This package contains implementations of the
21 {@link org.apache.commons.collections.Bag Bag} and
22 {@link org.apache.commons.collections.SortedBag SortedBag} interfaces.
23 A bag stores an object and a count of the number of occurences of the object.
24 <p>
25 The following implementations are provided in the package:
26 <ul>
27 <li>HashBag - implementation that uses a HashMap to store the data
28 <li>TreeBag - implementation that uses a TreeMap to store the data
29 </ul>
30 <p>
31 The following decorators are provided in the package:
32 <ul>
33 <li>Synchronized - synchronizes method access for multi-threaded environments
34 <li>Unmodifiable - ensures the bag cannot be altered
35 <li>Predicated - ensures that only elements that are valid according to a predicate can be added
36 <li>Typed - ensures that only elements that are of a specific type can be added
37 <li>Transformed - transforms each element added to the bag
38 </ul>
39 </pre>
40 </BODY>