All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy