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