X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=jp%2Fbitmeister%2Fasn1%2Ftype%2Fbuiltin%2FBigENUMERATED.java;fp=jp%2Fbitmeister%2Fasn1%2Ftype%2Fbuiltin%2FBigENUMERATED.java;h=b2dada4742dfc7880cb106c2fd5a34d2b47fa327;hb=4601f7ee74152abaa6df2bcbb6c4643bc3a59f5e;hp=805e20266149b553f1bf3536f99df90fb7d87e97;hpb=624b226143b8c23308c2ca108e16e02df46b178b;p=bm-asn1%2Fbm-asn1.git diff --git a/jp/bitmeister/asn1/type/builtin/BigENUMERATED.java b/jp/bitmeister/asn1/type/builtin/BigENUMERATED.java index 805e202..b2dada4 100644 --- a/jp/bitmeister/asn1/type/builtin/BigENUMERATED.java +++ b/jp/bitmeister/asn1/type/builtin/BigENUMERATED.java @@ -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)