Package org.onosproject.net
Class TributarySlot
- java.lang.Object
-
- org.onosproject.net.TributarySlot
-
public class TributarySlot extends java.lang.Object
Implementation of ODU Tributary Slot simply designated by an index number of slot.
-
-
Constructor Summary
Constructors Constructor Description TributarySlot(long index)
Creates an instance representing the TributarySlot specified by the given index number.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
long
index()
Returns the index number of TributarySlot.static TributarySlot
of(long index)
java.lang.String
toString()
-
-
-
Method Detail
-
of
public static TributarySlot of(long index)
-
index
public long index()
Returns the index number of TributarySlot.- Returns:
- the index number of TributarySlot
-
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
-
-