diff options
Diffstat (limited to '')
-rw-r--r-- | src/net/gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/net/gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java b/src/net/gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java index 96f8734..7df0722 100644 --- a/src/net/gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java +++ b/src/net/gcdc/asn1/datatypesimpl/SequenceOfUnrestrictedLong.java @@ -3,26 +3,21 @@ package net.gcdc.asn1.datatypesimpl; import java.util.Collection;
import java.util.List;
-import net.gcdc.asn1.datatypes.Asn1BigInteger;
import net.gcdc.asn1.datatypes.Asn1SequenceOf;
/*
* Sequence of Asn1Integer for restricted integers
*
*/
-public class SequenceOfUnrestrictedLong extends Asn1SequenceOf<Asn1BigInteger> {
+public class SequenceOfUnrestrictedLong extends Asn1SequenceOf<Long> {
public SequenceOfUnrestrictedLong() { super(); }
- public SequenceOfUnrestrictedLong(Collection<Asn1BigInteger> coll) { super(coll); }
-
- public void add(Long num) {
- add (new Asn1BigInteger(num));
- }
+ public SequenceOfUnrestrictedLong(Collection<Long> coll) { super(coll); }
public SequenceOfUnrestrictedLong(List<Long> numbers) {
super();
for (Long number: numbers){
- this.add(new Asn1BigInteger(number));
+ this.add(new Long(number));
}
}
|