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

de.team33.patterns.serial.charon.Streamable Maven / Gradle / Ivy

Go to download

Provides an alternative abstraction of Collections whose access methods are suitable for both recursive and successive serial processing.

There is a newer version: 1.21.0
Show newest version
package de.team33.patterns.serial.charon;

import java.util.stream.Stream;

/**
 * Represents something that may produce a {@link Stream} of elements of a specific type.
 *
 * @param  The element type.
 */
public interface Streamable {

    /**
     * Returns a sequential {@code Stream} with this {@link Streamable} as its source.
     */
    Stream stream();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy