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

org.rajivprab.cava.Streamc Maven / Gradle / Ivy

There is a newer version: 3.3.0
Show newest version
package org.rajivprab.cava;

import java.util.stream.Stream;
import java.util.stream.StreamSupport;

public class Streamc {
    // Use Streams.stream(iterable/iterator) instead
    @Deprecated
    public static  Stream stream(Iterable iterable) {
        https://stackoverflow.com/questions/23932061/convert-iterable-to-stream-using-java-8-jdk
        return StreamSupport.stream(iterable.spliterator(), false);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy