Class OrNode

  • All Implemented Interfaces:
    Node

    public class OrNode
    extends java.lang.Object
    implements Node
    • Constructor Summary

      Constructors 
      Constructor Description
      OrNode​(Node leftChild, Node rightChild)  
      OrNode​(Node leftChild, Node rightChild, boolean ascending)  
    • Constructor Detail

      • OrNode

        public OrNode​(Node leftChild,
                      Node rightChild)
      • OrNode

        public OrNode​(Node leftChild,
                      Node rightChild,
                      boolean ascending)
    • Method Detail

      • hasNext

        public boolean hasNext()
                        throws java.io.IOException
        Specified by:
        hasNext in interface Node
        Throws:
        java.io.IOException
      • next

        public long next()
                  throws java.io.IOException
        Specified by:
        next in interface Node
        Throws:
        java.io.IOException