org.ojalgo.finance.data
Class DatePrice

java.lang.Object
  extended by 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>


Field Summary
 CalendarDate key
           
 
Method Summary
 int compareTo(KeyValue<CalendarDate,?> ref)
           
 CalendarDate getKey()
           
abstract  double getPrice()
           
 Double getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public final CalendarDate key
Method Detail

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