# Uses of Class
org.apache.commons.collections4.bag.PredicatedBag

Packages that use PredicatedBag
Package
Description
org.apache.commons.collections4.bag
Implements the `Bag` and `SortedBag` interfaces.

- ## Uses of PredicatedBag in org.apache.commons.collections4.bag

  Subclasses of PredicatedBag in org.apache.commons.collections4.bag
  Modifier and Type
  Class
  Description
  `class`
  `PredicatedSortedBag<E>`
  Deprecated.
  Since 4.6.0, use `PredicatedSortedMultiSet` instead.
  Methods in org.apache.commons.collections4.bag that return PredicatedBag
  Modifier and Type
  Method
  Description
  `static <E> PredicatedBag<E>`
  PredicatedBag.`predicatedBag(Bag<E> bag, Predicate<? super E> predicate)`
  Deprecated.
  Factory method to create a predicated (validating) bag.