Package org.onosproject.net.behaviour
Class BridgeName
- java.lang.Object
-
- org.onosproject.net.behaviour.BridgeName
-
public final class BridgeName extends java.lang.Object
Represents for a bridge name.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BridgeName
bridgeName(java.lang.String name)
Creates a bridge name using the supplied string.boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
name()
Returns the bridge name string.java.lang.String
toString()
-
-
-
Method Detail
-
bridgeName
public static BridgeName bridgeName(java.lang.String name)
Creates a bridge name using the supplied string.- Parameters:
name
- bridge name- Returns:
- BridgeName
-
name
public java.lang.String name()
Returns the bridge name string.- Returns:
- name string
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-