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

io.legaldocml.util.Streams Maven / Gradle / Ivy

package io.legaldocml.util;

import java.util.List;
import java.util.stream.Stream;

/**
 * @author Jacques Militello
 */
public final class Streams {

    private Streams() {
    }

    public static  Stream stream(List list) {
        if (list == null) {
            return Stream.of();
        } else {
            return list.stream();
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy