# 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>`
  Decorates another `SortedBag` to validate that additions match a specified predicate.
  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)`
  Factory method to create a predicated (validating) bag.