Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
floodlight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
croft1
floodlight
Commits
08f129f1
Commit
08f129f1
authored
8 years ago
by
Ryan Izard
Browse files
Options
Downloads
Patches
Plain Diff
Add Javadoc to PathNode
parent
fcad2a31
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/net/floodlightcontroller/core/types/PathNode.java
+18
-0
18 additions, 0 deletions
...in/java/net/floodlightcontroller/core/types/PathNode.java
with
18 additions
and
0 deletions
src/main/java/net/floodlightcontroller/core/types/PathNode.java
+
18
−
0
View file @
08f129f1
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment