All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.commons.collections.bag.package.html Maven / Gradle / Ivy

Go to download

Provides a single jar containing all JAITools modules which you can use instead of including individual modules in your project. Note: It does not include the Jiffle scripting language or Jiffle image operator.

The newest version!

This package contains implementations of the {@link org.apache.commons.collections.Bag Bag} and {@link org.apache.commons.collections.SortedBag SortedBag} interfaces. A bag stores an object and a count of the number of occurences of the object.

The following implementations are provided in the package:

  • HashBag - implementation that uses a HashMap to store the data
  • TreeBag - implementation that uses a TreeMap to store the data

The following decorators are provided in the package:

  • Synchronized - synchronizes method access for multi-threaded environments
  • Unmodifiable - ensures the bag cannot be altered
  • Predicated - ensures that only elements that are valid according to a predicate can be added
  • Typed - ensures that only elements that are of a specific type can be added
  • Transformed - transforms each element added to the bag




© 2015 - 2024 Weber Informatics LLC | Privacy Policy