Package org.geotools.data.util
Class FeatureStreams
- Object
-
- FeatureStreams
-
public final class FeatureStreams extends Object
Provides toStream transform methods for Feature Collection & Iterator- Author:
- Fernando MiƱo, Geosolutions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FeatureStreams.StreamFeatureIterator<F extends Feature>
Iterator Wrapper for use on streams
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Feature,K extends FeatureType>
Stream<T>toFeatureStream(FeatureCollection<K,T> fc)
Converts FeatureCollection to Stream of Features Use with try-with-resources clause for auto closing
-
-
-
Method Detail
-
toFeatureStream
public static <T extends Feature,K extends FeatureType> Stream<T> toFeatureStream(FeatureCollection<K,T> fc)
Converts FeatureCollection to Stream of Features Use with try-with-resources clause for auto closing
-
-