blob: cffdb0722def5cee0145dcf827039806f530ecf9 [file] [log] [blame]
slowr13fa5b02017-08-08 16:32:31 -07001/**
2 * This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
3 */
4
5package org.onosproject.xran.codecs.api;
6
7import org.openmuc.jasn1.ber.types.BerInteger;
8
9import java.math.BigInteger;
10import java.util.Arrays;
11
12
13public 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}