Class PatternIterator<S extends Statement>

  • All Implemented Interfaces:
    Iterator<S>

    public class PatternIterator<S extends Statement>
    extends Object
    implements Iterator<S>
    Excludes an Iterator based on a given basic graph pattern.
    • Method Detail

      • accept

        protected boolean accept​(S st)
        Tests whether or not the specified statement should be returned by this iterator. All objects from the wrapped iterator pass through this method in the same order as they are coming from the wrapped iterator.
        Parameters:
        st - The statement to be tested.
        Returns:
        true if the object should be returned, false otherwise.