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

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

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

  Methods in org.apache.commons.collections4.bag that return PredicatedSortedBag
  Modifier and Type
  Method
  Description
  `static <E> PredicatedSortedBag<E>`
  PredicatedSortedBag.`predicatedSortedBag(SortedBag<E> bag, Predicate<? super E> predicate)`
  Factory method to create a predicated (validating) bag.