org.ojalgo.finance.data
Class DatePrice
java.lang.Object
org.ojalgo.finance.data.DatePrice
- All Implemented Interfaces:
- Comparable<KeyValue<CalendarDate,?>>, KeyValue<CalendarDate,Double>
- Direct Known Subclasses:
- GoogleSymbol.Data, YahooSymbol.Data
public abstract class DatePrice
- extends Object
- implements KeyValue<CalendarDate,Double>
key
public final CalendarDate key
compareTo
public int compareTo(KeyValue<CalendarDate,?> ref)
- Specified by:
compareTo in interface Comparable<KeyValue<CalendarDate,?>>
getKey
public final CalendarDate getKey()
- Specified by:
getKey in interface KeyValue<CalendarDate,Double>
getPrice
public abstract double getPrice()
getValue
public final Double getValue()
- Specified by:
getValue in interface KeyValue<CalendarDate,Double>
toString
public final String toString()
- Overrides:
toString in class Object