Uses of Class
com.google.common.collect.TreeMultiset
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of TreeMultiset in com.google.common.collect
Modifier and TypeMethodDescriptionstatic <E extends Comparable>
TreeMultiset<E> TreeMultiset.create()
Creates a new, empty multiset, sorted according to the elements' natural order.static <E extends Comparable>
TreeMultiset<E> Creates an empty multiset containing the given initial elements, sorted according to the elements' natural order.static <E extends @Nullable Object>
TreeMultiset<E> TreeMultiset.create
(@Nullable Comparator<? super E> comparator) Creates a new, empty multiset, sorted according to the specified comparator.