Class SubFeatureList

    • Method Detail

      • get

        public SimpleFeature get​(int position)
        item at the specified index.
        position - index of item
        the item at the specified index.
        IndexOutOfBoundsException - if index is not between 0 and size
      • createIndex

        protected List<FeatureId> createIndex()
        Put this SubFeatureList in touch with its inner index
      • lastIndexOf

        public int lastIndexOf​(SimpleFeature feature)
      • subList

        public SimpleFeatureCollection subList​(Filter subfilter)
        Sublist of this sublist!

        Implementation will ensure this does not get out of hand, order is maintained and only indexed once.

      • getFeatureMember

        public SimpleFeature getFeatureMember​(String id)
                                       throws NoSuchElementException
        Description copied from interface: RandomFeatureAccess
        Access Feature content by feature id.
        Specified by:
        getFeatureMember in interface RandomFeatureAccess
        Feature with the indicated or id
        NoSuchElementException - if a Feature with the indicated id is not present
      • openIterator

        public Iterator<SimpleFeature> openIterator()
        Returns a quick iterator that uses get and size methods.

        As with all resource collections it is assumed that the iterator will be closed after use.

        an iterator over the elements in this list in proper sequence.
        See Also: