2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.controller.liblldp;
11 public class CustomTLVKey {
20 public CustomTLVKey(final int oui, final byte subtype) {
22 this.subtype = subtype;
35 public byte getSubtype() {
40 public int hashCode() {
43 result = prime * result + oui;
44 result = prime * result + subtype;
49 public boolean equals(final Object obj) {
58 if (getClass() != obj.getClass()) {
62 CustomTLVKey other = (CustomTLVKey) obj;
63 if (oui != other.oui) {
67 if (subtype != other.subtype) {