Example usage for Java org.apache.commons.collections4.bag TreeBag fields, constructors, methods, implement or subclass
The text is from its open source code.
TreeBag(final Comparator super E> comparator) Constructs an empty bag that maintains order on its unique representative members according to the given Comparator . | |
TreeBag(final Collection extends E> coll) Constructs a TreeBag containing all the members of the specified collection. |