2 * Copyright (c) 2014 Contextream, 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.lispflowmapping.interfaces.dao;
12 * A value in the mapping service DAO
17 public class MappingValueKey<V> {
20 public MappingValueKey(String key) {
24 public String getKey() {
29 public int hashCode() {
32 result = prime * result + ((key == null) ? 0 : key.hashCode());
37 public boolean equals(Object obj) {
42 if (getClass() != obj.getClass())
44 MappingValueKey<?> other = (MappingValueKey<?>) obj;
46 if (other.key != null)
48 } else if (!key.equals(other.key))