Interface FeatureSetProvider

All Superinterfaces:
org.gvsig.tools.dispose.Disposable
All Known Implementing Classes:
AbstractFeatureSetProvider, MemoryFeatureSet

public interface FeatureSetProvider extends org.gvsig.tools.dispose.Disposable
Interface for set of feature based data providers
Author:
jmvivo
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    boolean
     
    org.gvsig.tools.dispose.DisposableIterator
    Returns an iterator over the elements in this set, in the order (if any) defined when the collection was obtained.
    org.gvsig.tools.dispose.DisposableIterator
    fastIterator(long index, long elements)
    Returns an iterator over the elements in this set, in the order (if any) defined when the collection was obtained.
    long
     
    boolean
     
    org.gvsig.tools.dispose.DisposableIterator
    Returns an iterator over the elements in this set, in the order (if any) defined when the collection was obtained.
    org.gvsig.tools.dispose.DisposableIterator
    iterator(long index, long elements)
    Returns an iterator over the elements in this set, in the order (if any) defined when the collection was obtained.

    Methods inherited from interface org.gvsig.tools.dispose.Disposable

    dispose
  • Method Details

    • canFilter

      boolean canFilter()
    • canOrder

      boolean canOrder()
    • canIterateFromIndex

      boolean canIterateFromIndex()
    • getSize

      long getSize() throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • isEmpty

      boolean isEmpty() throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • iterator

      org.gvsig.tools.dispose.DisposableIterator iterator() throws org.gvsig.fmap.dal.exception.DataException
      Returns an iterator over the elements in this set, in the order (if any) defined when the collection was obtained.

      Fast in this case means that each of the elements returned may be a reused or pooled object instance, so don't use it to be stored in any way.

      If you need to store one of the FeatureProvider of the iterator, use the FeatureProvider.getCopy() to create a clone of the object.

      Returns:
      an iterator of the elements in this collection (in proper sequence).
      Throws:
      org.gvsig.fmap.dal.exception.DataException - if there is an error getting the iterator
    • iterator

      org.gvsig.tools.dispose.DisposableIterator iterator(long index, long elements) throws org.gvsig.fmap.dal.exception.DataException
      Returns an iterator over the elements in this set, in the order (if any) defined when the collection was obtained.

      Fast in this case means that each of the elements returned may be a reused or pooled object instance, so don't use it to be stored in any way.

      If you need to store one of the FeatureProvider of the iterator, use the FeatureProvider.getCopy() to create a clone of the object.

      Parameters:
      index - index of first element to be returned from the iterator (by a call to the next method).
      elements -
      Returns:
      an iterator of the elements in this collection (in proper sequence).
      Throws:
      org.gvsig.fmap.dal.exception.DataException - if there is an error getting the iterator
    • fastIterator

      org.gvsig.tools.dispose.DisposableIterator fastIterator() throws org.gvsig.fmap.dal.exception.DataException
      Returns an iterator over the elements in this set, in the order (if any) defined when the collection was obtained.
      Returns:
      an iterator of the elements in this collection (in proper sequence).
      Throws:
      org.gvsig.fmap.dal.exception.DataException - if there is an error getting the iterator
      See Also:
    • fastIterator

      org.gvsig.tools.dispose.DisposableIterator fastIterator(long index, long elements) throws org.gvsig.fmap.dal.exception.DataException
      Returns an iterator over the elements in this set, in the order (if any) defined when the collection was obtained.
      Parameters:
      index - index of first element to be returned from the iterator (by a call to the next method).
      elements -
      Returns:
      an iterator of the elements in this collection (in proper sequence).
      Throws:
      org.gvsig.fmap.dal.exception.DataException - if there is an error getting the iterator
      See Also: