2 * Copyright (c) 2017 Red Hat, 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
8 package org.opendaylight.genius.mdsalutil.instructions;
10 import org.opendaylight.genius.mdsalutil.InstructionInfo;
13 * Abstract base class for InstructionInfo implementations, to enforce
14 * implementation of equals(), hashCode() and toString().
16 /* can remain package local instead of public (unless there are InstructionInfo impls elsewhere?) */
17 abstract class AbstractInstructionInfoImpl implements InstructionInfo {
18 private static final long serialVersionUID = 1L;
21 public abstract boolean equals(Object other);
24 public abstract int hashCode();
27 public abstract String toString();