public final class FeatureStreams extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FeatureStreams.StreamFeatureIterator<F extends Feature>
Iterator Wrapper for use on streams
|
Modifier and Type | Method and Description |
---|---|
static <T extends Feature,K extends FeatureType> |
toFeatureStream(FeatureCollection<K,T> fc)
Converts FeatureCollection to Stream of Features Use with try-with-resources clause for auto
closing
|
public static <T extends Feature,K extends FeatureType> Stream<T> toFeatureStream(FeatureCollection<K,T> fc)
fc
- Copyright © 1996–2019 Geotools. All rights reserved.