Skip to content
Snippets Groups Projects
Commit 08f129f1 authored by Ryan Izard's avatar Ryan Izard
Browse files

Add Javadoc to PathNode

parent fcad2a31
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,24 @@ package net.floodlightcontroller.core.types; ...@@ -3,6 +3,24 @@ package net.floodlightcontroller.core.types;
import org.projectfloodlight.openflow.types.DatapathId; import org.projectfloodlight.openflow.types.DatapathId;
import org.projectfloodlight.openflow.types.OFPort; import org.projectfloodlight.openflow.types.OFPort;
/**
* Simple classes for defining a hop in a path.
*
* Class PathNode good for tracking hops in
* an outer container that guarantees ordering
* or for standalone use. It can also be useful
* when lookup of specific nodes needs to be
* faster than O(n)... lookup time dependent on
* containing class.
*
* Inner class LinkedPathNode useful for chaining
* LinkedPathNodes together. Note traversal will
* always be O(n), since it's effectively a linked
* list.
*
* @author rizard
*
*/
public class PathNode { public class PathNode {
private DatapathId node; private DatapathId node;
private OFPort in; private OFPort in;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment