blob: 38f893b0fdaa88d748d8462c2006b89e2d9d2567 [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 java.io.IOException;
8import java.io.EOFException;
9import java.io.InputStream;
10import java.util.Arrays;
11import java.util.List;
12import java.util.ArrayList;
13import java.util.Iterator;
14import java.io.UnsupportedEncodingException;
15import java.math.BigInteger;
16import java.io.Serializable;
slowr60d4d102017-08-16 18:33:58 -070017import org.onosproject.xran.codecs.ber.*;
18import org.onosproject.xran.codecs.ber.types.*;
19import org.onosproject.xran.codecs.ber.types.string.*;
slowr13fa5b02017-08-08 16:32:31 -070020
21import javax.xml.bind.DatatypeConverter;
22
23
24public class CRNTI extends BerBitString {
25
26 private static final long serialVersionUID = 1L;
27
28 public CRNTI() {
29 }
30
31 public CRNTI(byte[] code) {
32 super(code);
33 }
34
35 public CRNTI(byte[] value, int numBits) {
36 super(value, numBits);
37 }
38
39 @Override
40 public int hashCode() {
41 return Arrays.hashCode(value);
42 }
43
44 @Override
45 public boolean equals(Object obj) {
46 if (obj instanceof CRNTI) {
47 return Arrays.equals(value, ((CRNTI) obj).value);
48 }
49 return super.equals(obj);
50 }
51
52 @Override
53 public String toString() {
slowr60d4d102017-08-16 18:33:58 -070054 return "" + DatatypeConverter.printHexBinary(value) + "";
slowr13fa5b02017-08-08 16:32:31 -070055 }
56}