blob: 69d5f48d84feace87170245000fc3e73ee3cecf2 [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;
17import org.openmuc.jasn1.ber.*;
18import org.openmuc.jasn1.ber.types.*;
19import org.openmuc.jasn1.ber.types.string.*;
20
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() {
54 return "\"" + DatatypeConverter.printHexBinary(value) + "\"";
55 }
56}