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 | |
slowr | 60d4d10 | 2017-08-16 18:33:58 -0700 | [diff] [blame] | 7 | import org.onosproject.xran.codecs.ber.types.BerOctetString; |
slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 8 | |
slowr | 67d05e4 | 2017-08-11 20:37:22 -0700 | [diff] [blame] | 9 | import java.util.Arrays; |
| 10 | |
slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 11 | |
| 12 | public class PLMNIdentity extends BerOctetString { |
| 13 | |
slowr | 67d05e4 | 2017-08-11 20:37:22 -0700 | [diff] [blame] | 14 | private static final long serialVersionUID = 1L; |
slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 15 | |
slowr | 67d05e4 | 2017-08-11 20:37:22 -0700 | [diff] [blame] | 16 | public PLMNIdentity() { |
| 17 | } |
slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 18 | |
slowr | 67d05e4 | 2017-08-11 20:37:22 -0700 | [diff] [blame] | 19 | public PLMNIdentity(byte[] value) { |
| 20 | super(value); |
| 21 | } |
slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 22 | |
slowr | 67d05e4 | 2017-08-11 20:37:22 -0700 | [diff] [blame] | 23 | @Override |
| 24 | public int hashCode() { |
| 25 | return Arrays.hashCode(value); |
| 26 | } |
| 27 | |
| 28 | @Override |
| 29 | public boolean equals(Object obj) { |
| 30 | if (obj instanceof PLMNIdentity) { |
| 31 | return Arrays.equals(value, ((PLMNIdentity) obj).value); |
| 32 | } |
| 33 | return super.equals(obj); |
| 34 | } |
| 35 | |
slowr | 13fa5b0 | 2017-08-08 16:32:31 -0700 | [diff] [blame] | 36 | } |