Class LiteralFilter

  • All Implemented Interfaces:
    java.util.Iterator<Literal>

    public class LiteralFilter
    extends java.lang.Object
    implements java.util.Iterator<Literal>

    Title: Literal Filter

    Description: Filters an _iterator of _nodes for literals.

    Copyright: Copyright (c) 2007

    Company: Clark & Parsia, LLC.

    Author:
    Ron Alford
    • Constructor Summary

      Constructors 
      Constructor Description
      LiteralFilter​(java.util.Iterator<Node> iterator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      Literal next()  
      void remove()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • LiteralFilter

        public LiteralFilter​(java.util.Iterator<Node> iterator)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<Literal>
      • next

        public Literal next()
        Specified by:
        next in interface java.util.Iterator<Literal>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<Literal>