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 org.openmuc.jasn1.ber.types.BerInteger; |
| 8 | |
| 9 | import java.math.BigInteger; |
| 10 | import java.util.Arrays; |
| 11 | |
| 12 | |
| 13 | public class ARFCNValue extends BerInteger { |
| 14 | |
| 15 | private static final long serialVersionUID = 1L; |
| 16 | |
| 17 | public ARFCNValue() { |
| 18 | } |
| 19 | |
| 20 | public ARFCNValue(byte[] code) { |
| 21 | super(code); |
| 22 | } |
| 23 | |
| 24 | public ARFCNValue(BigInteger value) { |
| 25 | super(value); |
| 26 | } |
| 27 | |
| 28 | public ARFCNValue(long value) { |
| 29 | super(value); |
| 30 | } |
| 31 | |
| 32 | @Override |
| 33 | public int hashCode() { |
| 34 | return value.intValue(); |
| 35 | } |
| 36 | |
| 37 | @Override |
| 38 | public boolean equals(Object obj) { |
| 39 | if (obj instanceof ARFCNValue) { |
| 40 | return value.intValue() == ((ARFCNValue) obj).value.intValue(); |
| 41 | } |
| 42 | return super.equals(obj); |
| 43 | } |
| 44 | } |