org.geotools.feature
Interface FeatureList
- All Superinterfaces:
- Collection, Feature, FeatureCollection, Iterable, List, ResourceCollection
- All Known Subinterfaces:
- FeatureDocument
- All Known Implementing Classes:
- AbstractFeatureList, SubFeatureList
public interface FeatureList
- extends List, FeatureCollection
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.
- Author:
- Jody Garnett, Refractions Research, Inc.
- Module:
modules/library/api (gt2-api.jar) (Maven report) (SVN head)
| Methods inherited from interface 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 |
subList
FeatureList subList(Filter filter)
- Similar to subCollection, explicitly constructs a ordered List.
The list will be ordered:
- As indicated using Filter 1.1 sortBy
- occuring to their appearance in this FeatureList
- Parameters:
filter -
- Returns:
- FeatureList based on features selected by filter
Copyright © 1996-2008 Geotools. All Rights Reserved.