com.rt.storage.api.client.util.Collections2 Maven / Gradle / Ivy
package com.rt.storage.api.client.util;
import java.util.Collection;
/**
* Static utility methods pertaining to {@link Collection} instances.
*
* @since 1.14
* @author Yaniv Inbar
*/
public final class Collections2 {
/** Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557. */
static Collection cast(Iterable iterable) {
return (Collection) iterable;
}
private Collections2() {}
}