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