Package cdc.enums

Enum SynthesisStatus

    • Enum Constant Detail

      • UNDEFINED

        public static final SynthesisStatus UNDEFINED
        No source is available.
      • NONE

        public static final SynthesisStatus NONE
        All sources agree to say that something is false.
      • PARTIAL

        public static final SynthesisStatus PARTIAL
        Some source agree to say that something is true, others that it is false.
      • ALL

        public static final SynthesisStatus ALL
        All sources agree to say that something is true.
    • Method Detail

      • values

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

        public static SynthesisStatus 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
      • getCode

        public Character getCode()
        Specified by:
        getCode in interface cdc.util.encoding.Encoded<Character>
      • merge

        public SynthesisStatus merge​(SynthesisStatus other)
        Merges this status with another one.

        The logic is:

        U N P F
        U U N P F
        N N N P P
        P P P P P
        F F P P F
        Parameters:
        other - The other synthesis status.
        Returns:
        The merge of this status with other.