Class AlphaVantageParser.Data
java.lang.Object
org.ojalgo.data.domain.finance.series.DatePrice
org.ojalgo.data.domain.finance.series.AlphaVantageParser.Data
- All Implemented Interfaces:
Comparable<PrimitiveNumber>
,Map<LocalDate,
,PrimitiveNumber> Map.Entry<LocalDate,
,PrimitiveNumber> ComparableNumber<PrimitiveNumber>
,EntryPair<LocalDate,
,PrimitiveNumber> EntryPair.KeyedPrimitive<LocalDate>
,KeyValue<LocalDate,
,PrimitiveNumber> NumberDefinition
,PrimitiveNumber
- Enclosing class:
AlphaVantageParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ojalgo.data.domain.finance.series.DatePrice
DatePrice.DefaultDP
Nested classes/interfaces inherited from interface org.ojalgo.type.keyvalue.EntryPair
EntryPair.KeyedPrimitive<K>, EntryPair.ObjectByte<K>, EntryPair.ObjectDouble<K>, EntryPair.ObjectFloat<K>, EntryPair.ObjectInt<K>, EntryPair.ObjectLong<K>, EntryPair.ObjectObject<K,
V>, EntryPair.ObjectShort<K> Nested classes/interfaces inherited from interface org.ojalgo.type.keyvalue.KeyValue
KeyValue.Dual<T>
Nested classes/interfaces inherited from interface org.ojalgo.type.PrimitiveNumber
PrimitiveNumber.BoxedByte, PrimitiveNumber.BoxedDouble, PrimitiveNumber.BoxedFloat, PrimitiveNumber.BoxedInt, PrimitiveNumber.BoxedLong, PrimitiveNumber.BoxedShort
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal double
final double
final double
final double
final double
final double
final double
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ojalgo.data.domain.finance.series.DatePrice
compareTo, containsKey, containsValue, doubleValue, get, getKey, keySet, of, of, of, of, of, of, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ojalgo.type.keyvalue.EntryPair
asKeyTo, asKeyTo, asKeyTo, asKeyTo, asKeyTo, asKeyTo, asKeyTo, asValueTo, clear, entrySet, isEmpty, put, putAll, remove, setValue, size
Methods inherited from interface org.ojalgo.type.keyvalue.EntryPair.KeyedPrimitive
getValue, right, second, values
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
Methods inherited from interface org.ojalgo.type.NumberDefinition
booleanValue, byteValue, floatValue, intValue, longValue, shortValue
-
Field Details
-
adjustedClose
public final double adjustedClose -
close
public final double close -
dividendAmount
public final double dividendAmount -
high
public final double high -
low
public final double low -
open
public final double open -
volume
public final double volume
-
-
Constructor Details
-
Data
public Data(LocalDate date, double open, double high, double low, double close, double adjustedClose, double volume, double dividendAmount)
-
-
Method Details
-
equals
- Specified by:
equals
in interfaceMap<LocalDate,
PrimitiveNumber> - Specified by:
equals
in interfaceMap.Entry<LocalDate,
PrimitiveNumber> - Overrides:
equals
in classDatePrice
-
getPrice
public double getPrice() -
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceMap<LocalDate,
PrimitiveNumber> - Specified by:
hashCode
in interfaceMap.Entry<LocalDate,
PrimitiveNumber> - Overrides:
hashCode
in classDatePrice
-