|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An ordered List of Features.
A FeatureList is usually retrived from a FeatureCollection with the subCollection( Filter ) operation. How you ask - make use of Filter 1.1 sortBy.
You may check to see if the result of subCollection( Filter ) is a FeatureList using an instanceof check. This often the case, when using not using sortBy the order is usually based on FID.
Nested Class Summary |
Nested classes inherited from class org.geotools.feature.Feature |
Feature.NULL |
Method Summary | |
FeatureList |
subList(Filter filter)
Similar to subCollection, explicitly constructs a ordered List. |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Methods inherited from interface org.geotools.feature.FeatureCollection |
accepts, addListener, close, close, features, getFeatureType, getSchema, removeListener, sort, subCollection |
Methods inherited from interface org.geotools.data.collection.ResourceCollection |
iterator, purge |
Methods inherited from interface org.geotools.data.FeatureResults |
collection, getBounds, getCount, reader |
Methods inherited from interface org.geotools.feature.Feature |
getAttribute, getAttribute, getAttributes, getBounds, getDefaultGeometry, getID, getNumberOfAttributes, getParent, setAttribute, setAttribute, setDefaultGeometry, setParent |
Method Detail |
public FeatureList subList(Filter filter)
The list will be ordered:
filter
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |