blob: 137778519a09fe864a66da67a1d9b27964117714 [file] [log] [blame]
slowr13fa5b02017-08-08 16:32:31 -07001/**
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -08002 * This class file was automatically generated by jASN1 v1.8.2 (http://www.openmuc.org)
slowr13fa5b02017-08-08 16:32:31 -07003 */
4
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -08005package org.onosproject.xran.asn1lib.api;
slowr13fa5b02017-08-08 16:32:31 -07006
Dimitrios Mavrommatis96b255a2017-12-06 13:09:25 -08007import org.onosproject.xran.asn1lib.ber.types.BerInteger;
slowr13fa5b02017-08-08 16:32:31 -07008
9import java.math.BigInteger;
slowr13fa5b02017-08-08 16:32:31 -070010
11
12public class ARFCNValue extends BerInteger {
13
slowr60d4d102017-08-16 18:33:58 -070014 private static final long serialVersionUID = 1L;
slowr13fa5b02017-08-08 16:32:31 -070015
slowr60d4d102017-08-16 18:33:58 -070016 public ARFCNValue() {
17 }
slowr13fa5b02017-08-08 16:32:31 -070018
slowr60d4d102017-08-16 18:33:58 -070019 public ARFCNValue(byte[] code) {
20 super(code);
21 }
slowr13fa5b02017-08-08 16:32:31 -070022
slowr60d4d102017-08-16 18:33:58 -070023 public ARFCNValue(BigInteger value) {
24 super(value);
25 }
slowr13fa5b02017-08-08 16:32:31 -070026
slowr60d4d102017-08-16 18:33:58 -070027 public ARFCNValue(long value) {
28 super(value);
29 }
slowr13fa5b02017-08-08 16:32:31 -070030
slowr60d4d102017-08-16 18:33:58 -070031 @Override
32 public int hashCode() {
33 return value.intValue();
34 }
slowr13fa5b02017-08-08 16:32:31 -070035
slowr60d4d102017-08-16 18:33:58 -070036 @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 }
slowr13fa5b02017-08-08 16:32:31 -070043}