Package org.onosproject.net
Class TributarySlot
- java.lang.Object
-
- org.onosproject.net.TributarySlot
-
public class TributarySlot extends java.lang.ObjectImplementation 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 booleanequals(java.lang.Object obj)inthashCode()longindex()Returns the index number of TributarySlot.static TributarySlotof(long index)java.lang.StringtoString()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-