Package no.uib.jsparklines.data
Class StartIndexes
java.lang.Object
no.uib.jsparklines.data.StartIndexes
- All Implemented Interfaces:
Serializable
,Comparable<StartIndexes>
public class StartIndexes extends Object implements Comparable<StartIndexes>, Serializable
Object storing start indexes for use in the
JSparklinesMultiIntervalChartTableCellRenderer.
- Author:
- Harald Barsnes
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description StartIndexes(ArrayList<Integer> indexes)
Create a new StartIndexes. -
Method Summary
Modifier and Type Method Description int
compareTo(StartIndexes o)
Compares based on the first value in the list.ArrayList<Integer>
getIndexes()
Returns the start indexes.String
toString()
-
Constructor Details
-
StartIndexes
Create a new StartIndexes.- Parameters:
indexes
- the start indexes
-
-
Method Details
-
getIndexes
Returns the start indexes.- Returns:
- the start indexes
-
compareTo
Compares based on the first value in the list.- Specified by:
compareTo
in interfaceComparable<StartIndexes>
-
toString
-