Enum StructureStateUtilsTest.TestStructureState

    • Method Detail

      • values

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

        public static StructureStateUtilsTest.TestStructureState 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
      • isAfter

        public boolean isAfter​(StructureState structureState)
        Description copied from interface: StructureState
        Checks if instance of given structure state is after structure state passed in method.
        Specified by:
        isAfter in interface StructureState
        Parameters:
        structureState - StructureState
        Returns:
        true if instance of given structure state is after structure state passed in method, false otherwise