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

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

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

  Methods in org.apache.commons.collections4.bag that return TransformedSortedBag
  Modifier and Type
  Method
  Description
  `static <E> TransformedSortedBag<E>`
  TransformedSortedBag.`transformedSortedBag(SortedBag<E> bag, Transformer<? super E,? extends E> transformer)`
  Factory method to create a transforming sorted bag that will transform existing contents of the specified sorted bag.
  `static <E> TransformedSortedBag<E>`
  TransformedSortedBag.`transformingSortedBag(SortedBag<E> bag, Transformer<? super E,? extends E> transformer)`
  Factory method to create a transforming sorted bag.