D
- The type of data to be displayed in the indicator, replacing @see#Indicator TC
- The type of the chime to be playedpublic static class Indicator.DataAndChime<D,C>
extends java.lang.Object
Constructor and Description |
---|
DataAndChime(D display,
C chime)
Sets up a data holder to have data and a single chime.
|
DataAndChime(D display,
java.util.List<C> chimes)
Sets up a data holder to have data and a List of chimes
|
Modifier and Type | Method and Description |
---|---|
C |
getChime()
Gets the stored chime.
|
C |
getChime(int index)
Gets a specific chime.
|
D |
getDisplay() |
java.lang.String |
toString() |
public DataAndChime(D display, java.util.List<C> chimes)
display
- the datachimes
- the list of chimespublic final D getDisplay()
public C getChime(int index)
index
- the index, in the List of chimes, of the chimepublic C getChime()
public java.lang.String toString()
toString
in class java.lang.Object