Class PatternIterator<S extends Statement>

All Implemented Interfaces:

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

  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<S extends Statement>
    • next

      public S next()
      Specified by:
      next in interface Iterator<S extends Statement>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<S extends Statement>
    • 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.
      st - The statement to be tested.
      true if the object should be returned, false otherwise.