public abstract class DatePrice extends Object implements KeyValue<CalendarDate,Double>
| Modifier and Type | Field and Description |
|---|---|
CalendarDate |
key |
| Modifier | Constructor and Description |
|---|---|
protected |
DatePrice(Calendar calendar) |
protected |
DatePrice(Date date) |
protected |
DatePrice(long millis) |
protected |
DatePrice(String sqlString) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(KeyValue<CalendarDate,?> ref) |
boolean |
equals(Object obj) |
CalendarDate |
getKey() |
abstract double |
getPrice() |
Double |
getValue() |
int |
hashCode() |
String |
toString() |
public final CalendarDate key
protected DatePrice(Calendar calendar)
protected DatePrice(Date date)
protected DatePrice(long millis)
protected DatePrice(String sqlString)
public int compareTo(KeyValue<CalendarDate,?> ref)
compareTo in interface Comparable<KeyValue<CalendarDate,?>>public final CalendarDate getKey()
getKey in interface KeyValue<CalendarDate,Double>public abstract double getPrice()
public final Double getValue()
getValue in interface KeyValue<CalendarDate,Double>Copyright © 2017 Optimatika. All rights reserved.