blob: 59965adef8c8bb63c4ea36ac73b86ec9535adb8d [file] [log] [blame]
Simon Hunta17fa672015-08-19 18:42:22 -07001/*
2 * Copyright 2015 Open Networking Laboratory
3 *
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.
15 *
16 */
17
18package org.onosproject.ui.impl.topo;
19
Simon Hunt4fc86852015-08-20 17:57:52 -070020import org.onosproject.net.Link;
21import org.onosproject.net.LinkKey;
22
Simon Hunta17fa672015-08-19 18:42:22 -070023/**
Simon Hunt4fc86852015-08-20 17:57:52 -070024 * Collection of {@link TrafficLink}s.
Simon Hunta17fa672015-08-19 18:42:22 -070025 */
Simon Hunt4fc86852015-08-20 17:57:52 -070026public class TrafficLinkMap extends BiLinkMap<TrafficLink> {
Simon Hunta17fa672015-08-19 18:42:22 -070027
Simon Hunt4fc86852015-08-20 17:57:52 -070028 @Override
29 public TrafficLink create(LinkKey key, Link link) {
30 return new TrafficLink(key, link);
31 }
Simon Hunta17fa672015-08-19 18:42:22 -070032}