com.github.davidmoten.guavamini.Collections2 Maven / Gradle / Ivy
package com.github.davidmoten.guavamini;
import java.util.Collection;
public final class Collections2 {
private Collections2() {
// prevent instantiation
}
/**
* Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557
*
* @param iterable
* input
* @param
* generic type of collection
* @return input cast as collection
*/
static Collection cast(Iterable iterable) {
return (Collection) iterable;
}
}