public class TributarySlot
extends java.lang.Object
| Constructor and Description |
|---|
TributarySlot(long index)
Creates an instance representing the TributarySlot specified by the given index number.
|
| Modifier and Type | Method and 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() |
public TributarySlot(long index)
index - index number of wavelengthpublic static TributarySlot of(long index)
public long index()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object