blob: acdd7913f2ceca3fa541e5cea870cecff38dea2c [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
slowr60d4d102017-08-16 18:33:58 -07007import org.onosproject.xran.codecs.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}