Enum Oid.OidFSAState

  • All Implemented Interfaces:
    Serializable, Comparable<Oid.OidFSAState>
    Enclosing class:
    Oid

    private static enum Oid.OidFSAState
    extends Enum<Oid.OidFSAState>
    The OID FSA states. We have the following Finite State Automaton :
     (Start) --['0','1']--> (A)
     (start) --['2']--> (F)
     
     (A) --['.']--> (B)
     
     (B) --['0']--> (D)
     (B) --['1'..'3']--> (C)
     (B) --['4'..'9']--> (E)
     
     (C) --[]--> (End)
     (C) --['.']--> (K)
     (C) --['0'..'9']--> (E)
     
     (D) --[]--> (End)
     (D) --['.']--> (K)
     
     (E) --[]--> (End)
     (E) --['.']--> (K)
     
     (F) --['.']--> (G)
     
     (G) --['0']--> (I)
     (G) --['1'..'9']--> (H)
    
     (H) --[]--> (End)
     (H) --['.']--> (K)
     (H) --['0'..'9']--> (J)
     
     (I) --[]--> (End)
     (I) --['.']--> (K)
    
     (J) --[]--> (End)
     (J) --['.']--> (K)
     (J) --['0'..'9']--> (J)
     
     (K) --['0']--> (M) 
     (K) --['1'..'9']--> (L)
     
     (L) --[]--> (End)
     (L) --['.']--> (K)
     (L) --['0'..'9']--> (L)
     
     (M) --[]--> (End)
     (M) --['.']--> (K)
     
    • Constructor Detail

      • OidFSAState

        private OidFSAState()
    • Method Detail

      • values

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

        public static Oid.OidFSAState 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