slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 1 | /** |
| 2 | * This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) |
| 3 | */ |
| 4 | |
| 5 | package org.onosproject.xran.codecs.api; |
| 6 | |
| 7 | import org.openmuc.jasn1.ber.types.*; |
| 8 | |
| 9 | import javax.xml.bind.DatatypeConverter; |
| 10 | import java.util.Arrays; |
| 11 | |
| 12 | |
| 13 | public 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 | } |