MCPcopy Index your code
hub / github.com/antlr/codebuff / create

Method create

output/java_guava/1.4.18/TreeMultiset.java:75–77  ·  view source on GitHub ↗

Creates a new, empty multiset, sorted according to the elements' natural order. All elements inserted into the multiset must implement the Comparable interface. Furthermore, all such elements must be mutually comparable : e1.compareTo(e2) must not throw a {@code ClassCastExcept

()

Source from the content-addressed store, hash-verified

73 */
74
75 public static <E extends Comparable> TreeMultiset<E> create() {
76 return new TreeMultiset<E>(Ordering.natural());
77 }
78
79 /**
80 * Creates a new, empty multiset, sorted according to the specified comparator. All elements

Callers 2

copyOfMethod · 0.95
BuilderMethod · 0.95

Calls 2

naturalMethod · 0.95
addAllMethod · 0.95

Tested by

no test coverage detected