java.lang.Object
org.ojalgo.data.domain.finance.series.DatePrice
org.ojalgo.data.domain.finance.series.YahooParser.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:
YahooParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ojalgo.data.domain.finance.series.DatePrice
DatePrice.DefaultDPNested 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 doublefinal doublefinal doublefinal doublefinal doublefinal 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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ojalgo.type.keyvalue.EntryPair
asKeyTo, asKeyTo, asKeyTo, asKeyTo, asKeyTo, asKeyTo, asKeyTo, asValueTo, clear, entrySet, isEmpty, put, putAll, remove, setValue, sizeMethods inherited from interface org.ojalgo.type.keyvalue.EntryPair.KeyedPrimitive
getValue, right, second, valuesMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllMethods 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 -
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)
-
-
Method Details
-
equals
- Specified by:
equalsin interfaceMap<LocalDate,PrimitiveNumber> - Specified by:
equalsin interfaceMap.Entry<LocalDate,PrimitiveNumber> - Overrides:
equalsin classDatePrice
-
getPrice
public double getPrice() -
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMap<LocalDate,PrimitiveNumber> - Specified by:
hashCodein interfaceMap.Entry<LocalDate,PrimitiveNumber> - Overrides:
hashCodein classDatePrice
-