Enum BSPTreeVisitor.Order

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      MINUS_NODE_PLUS
      Indicates that the visitor should first visit the minus sub-tree, then the current node, and then the plus sub-tree.
      MINUS_PLUS_NODE
      Indicates that the visitor should first visit the minus sub-tree, then the plus sub-tree, and then the current node.
      NODE_MINUS_PLUS
      Indicates that the visitor should first visit the current node, then the minus sub-tree, and then the plus sub-tree.
      NODE_PLUS_MINUS
      Indicates that the visitor should first visit the current node, then the plus sub-tree, and then the minus sub-tree.
      NONE
      Indicates that the visitor should not visit any of the nodes in this subtree.
      PLUS_MINUS_NODE
      Indicates that the visitor should first visit the plus sub-tree, then the minus sub-tree and then the current node.
      PLUS_NODE_MINUS
      Indicates that the visitor should first visit the plus sub-tree, then the current node, and then the minus sub-tree.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Order()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static BSPTreeVisitor.Order valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static BSPTreeVisitor.Order[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • PLUS_MINUS_NODE

        public static final BSPTreeVisitor.Order PLUS_MINUS_NODE
        Indicates that the visitor should first visit the plus sub-tree, then the minus sub-tree and then the current node.
      • PLUS_NODE_MINUS

        public static final BSPTreeVisitor.Order PLUS_NODE_MINUS
        Indicates that the visitor should first visit the plus sub-tree, then the current node, and then the minus sub-tree.
      • MINUS_PLUS_NODE

        public static final BSPTreeVisitor.Order MINUS_PLUS_NODE
        Indicates that the visitor should first visit the minus sub-tree, then the plus sub-tree, and then the current node.
      • MINUS_NODE_PLUS

        public static final BSPTreeVisitor.Order MINUS_NODE_PLUS
        Indicates that the visitor should first visit the minus sub-tree, then the current node, and then the plus sub-tree.
      • NODE_PLUS_MINUS

        public static final BSPTreeVisitor.Order NODE_PLUS_MINUS
        Indicates that the visitor should first visit the current node, then the plus sub-tree, and then the minus sub-tree.
      • NODE_MINUS_PLUS

        public static final BSPTreeVisitor.Order NODE_MINUS_PLUS
        Indicates that the visitor should first visit the current node, then the minus sub-tree, and then the plus sub-tree.
      • NONE

        public static final BSPTreeVisitor.Order NONE
        Indicates that the visitor should not visit any of the nodes in this subtree.
    • Constructor Detail

      • Order

        private Order()
    • Method Detail

      • values

        public static BSPTreeVisitor.Order[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BSPTreeVisitor.Order c : BSPTreeVisitor.Order.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BSPTreeVisitor.Order valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null