Enum DepthFirstNodeOrder

    • Enum Constant Detail

      • PREFIX

        public static final DepthFirstNodeOrder PREFIX
        The parent node will be treated before all its children.
      • POSTFIX

        public static final DepthFirstNodeOrder POSTFIX
        The parent node will be treated after all its children.
      • INFIX

        public static final DepthFirstNodeOrder INFIX
        The parent node will be treated at the same time of its children. The "at the same time" notion is ambigous. The default behavior of the iterator assumes that the parent node will be treated in the middle of its child set.
    • Method Detail

      • values

        public static DepthFirstNodeOrder[] 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 (DepthFirstNodeOrder c : DepthFirstNodeOrder.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DepthFirstNodeOrder valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null