MCPcopy Create free account
hub / github.com/antlr/codebuff / cast

Method cast

corpus/java/training/guava/collect/Multisets.java:1105–1107  ·  view source on GitHub ↗

Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557

(Iterable<T> iterable)

Source from the content-addressed store, hash-verified

1103 * Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557
1104 */
1105 static <T> Multiset<T> cast(Iterable<T> iterable) {
1106 return (Multiset<T>) iterable;
1107 }
1108
1109 private static final Ordering<Entry<?>> DECREASING_COUNT_ORDERING =
1110 new Ordering<Entry<?>>() {

Callers 3

copyOfMethod · 0.95
addAllMethod · 0.95
addAllImplMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected