Dimitrios Mavrommatis | 96b255a | 2017-12-06 13:09:25 -0800 | [diff] [blame] | 1 | /** |
| 2 | * This class file was automatically generated by jASN1 v1.8.2 (http://www.openmuc.org) |
| 3 | */ |
| 4 | |
| 5 | package org.onosproject.xran.asn1lib.api; |
| 6 | |
| 7 | import org.onosproject.xran.asn1lib.ber.types.BerBitString; |
| 8 | |
| 9 | import java.util.Arrays; |
| 10 | |
| 11 | |
| 12 | public class EUTRANCellIdentifier extends BerBitString { |
| 13 | |
| 14 | private static final long serialVersionUID = 1L; |
| 15 | |
| 16 | public EUTRANCellIdentifier() { |
| 17 | } |
| 18 | |
| 19 | public EUTRANCellIdentifier(byte[] code) { |
| 20 | super(code); |
| 21 | } |
| 22 | |
| 23 | public EUTRANCellIdentifier(byte[] value, int numBits) { |
| 24 | super(value, numBits); |
| 25 | } |
| 26 | |
| 27 | @Override |
| 28 | public int hashCode() { |
| 29 | return Arrays.hashCode(value); |
| 30 | } |
| 31 | |
| 32 | @Override |
| 33 | public boolean equals(Object obj) { |
| 34 | if (obj instanceof EUTRANCellIdentifier) { |
| 35 | return Arrays.equals(value, ((EUTRANCellIdentifier) obj).value); |
| 36 | } |
| 37 | return super.equals(obj); |
| 38 | } |
| 39 | } |