Interface Streamable<T>

All Superinterfaces:
Iterable<T>, Supplier<Stream<T>>
All Known Subinterfaces:
Page<T>, PersistentPropertyPath<P>, PersistentPropertyPaths<T,P>, Slice<T>
All Known Implementing Classes:
DefaultParameters, EntityProjection, EntityProjection.ContainerPropertyProjection, EntityProjection.PropertyProjection, ExpressionDependencies, GeoPage, PageImpl, Parameters, PartTree, PartTree.OrPart, PersistentEntities, PropertyPath, QSort, RepositoryComposition.RepositoryFragments, Revisions, RevisionSort, SliceImpl, Sort, Sort.TypedSort
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Streamable<T> extends Iterable<T>, Supplier<Stream<T>>
Simple interface to ease streamability of Iterables.
Since:
2.0
Author:
Oliver Gierke, Christoph Strobl