blob: ae066bd419fb066395da1436e57bc3611644b071 [file] [log] [blame]
Simon Hunta17fa672015-08-19 18:42:22 -07001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
Simon Hunta17fa672015-08-19 18:42:22 -07003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
Simon Hunta17fa672015-08-19 18:42:22 -070015 */
16
Simon Hunt191c84a2015-08-21 08:24:48 -070017package org.onosproject.ui.topo;
Simon Hunta17fa672015-08-19 18:42:22 -070018
Simon Hunt4fc86852015-08-20 17:57:52 -070019import org.onosproject.net.Link;
20import org.onosproject.net.LinkKey;
21
Simon Hunta17fa672015-08-19 18:42:22 -070022/**
Simon Hunt4fc86852015-08-20 17:57:52 -070023 * Collection of {@link BaseLink}s.
Simon Hunta17fa672015-08-19 18:42:22 -070024 */
Simon Hunt4fc86852015-08-20 17:57:52 -070025public class BaseLinkMap extends BiLinkMap<BaseLink> {
26 @Override
27 public BaseLink create(LinkKey key, Link link) {
28 return new BaseLink(key, link);
29 }
Simon Hunta17fa672015-08-19 18:42:22 -070030}