slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 1 | /** |
| 2 | * This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) |
| 3 | */ |
| 4 | |
| 5 | package org.onosproject.xran.codecs.api; |
| 6 | |
| 7 | import java.io.IOException; |
| 8 | import java.io.EOFException; |
| 9 | import java.io.InputStream; |
| 10 | import java.util.List; |
| 11 | import java.util.ArrayList; |
| 12 | import java.util.Iterator; |
| 13 | import java.io.UnsupportedEncodingException; |
| 14 | import java.math.BigInteger; |
| 15 | import java.io.Serializable; |
| 16 | import org.openmuc.jasn1.ber.*; |
| 17 | import org.openmuc.jasn1.ber.types.*; |
| 18 | import org.openmuc.jasn1.ber.types.string.*; |
| 19 | |
| 20 | |
| 21 | public class ERABID extends BerInteger { |
| 22 | |
| 23 | private static final long serialVersionUID = 1L; |
| 24 | |
| 25 | public ERABID() { |
| 26 | } |
| 27 | |
| 28 | public ERABID(byte[] code) { |
| 29 | super(code); |
| 30 | } |
| 31 | |
| 32 | public ERABID(BigInteger value) { |
| 33 | super(value); |
| 34 | } |
| 35 | |
| 36 | public ERABID(long value) { |
| 37 | super(value); |
| 38 | } |
| 39 | |
| 40 | @Override |
| 41 | public int hashCode() { |
| 42 | return value.intValue(); |
| 43 | } |
| 44 | |
| 45 | @Override |
| 46 | public boolean equals(Object obj) { |
| 47 | if (obj instanceof ERABID) { |
| 48 | return value.intValue() == ((ERABID) obj).intValue(); |
| 49 | } |
| 50 | return super.equals(obj); |
| 51 | } |
| 52 | } |