OSDN Git Service

* Add constructor with a String to INTEGER classes (INTEGER, ENUMERATED, BigINTEGER...
[bm-asn1/bm-asn1.git] / jp / bitmeister / asn1 / type / builtin / BigENUMERATED.java
index 805e202..b2dada4 100644 (file)
@@ -72,6 +72,17 @@ public abstract class BigENUMERATED extends BigINTEGER {
        public BigENUMERATED(long value) {
                super(value);
        }
+       
+       /**
+        * Instantiates an {@code BigENUMERATED} and initialize it with the value that is
+        * specified by the identifier of namednumber.
+        * 
+        * @param identifier
+        *            Identifier of the number to be assigned.
+        */
+       public BigENUMERATED(String identifier) {
+               set(identifier);
+       }
 
        /*
         * (non-Javadoc)