blob: 7c7f2a2894646dbcaa45bfd95e2af84c3014566a [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.*;
8
9import javax.xml.bind.DatatypeConverter;
10import java.util.Arrays;
11
12
13public class EUTRANCellIdentifier extends BerBitString {
14
15 private static final long serialVersionUID = 1L;
16
17 public EUTRANCellIdentifier() {
18 }
19
20 public EUTRANCellIdentifier(byte[] code) {
21 super(code);
22 }
23
24 public EUTRANCellIdentifier(byte[] value, int numBits) {
25 super(value, numBits);
26 }
27
28 @Override
29 public int hashCode() {
30 return Arrays.hashCode(value);
31 }
32
33 @Override
34 public boolean equals(Object obj) {
35 if (obj instanceof EUTRANCellIdentifier) {
36 return Arrays.equals(value, ((EUTRANCellIdentifier) obj).value);
37 }
38 return super.equals(obj);
39 }
40
41 @Override
42 public String toString() {
43 return "\"" + DatatypeConverter.printHexBinary(value) + "\"";
44 }
45}