Class AndNode

  • All Implemented Interfaces:
    Node

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

      Constructors 
      Constructor Description
      AndNode​(Node leftChild, Node rightChild)
      Constructor of AndNode.
      AndNode​(Node leftChild, Node rightChild, boolean ascending)  
    • Constructor Detail

      • AndNode

        public AndNode​(Node leftChild,
                       Node rightChild)
        Constructor of AndNode.
        Parameters:
        leftChild - left child
        rightChild - right child
      • AndNode

        public AndNode​(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