java.lang.Object
org.ojalgo.data.domain.finance.series.DatePrice
- 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
- Direct Known Subclasses:
AlphaVantageParser.Data,DatePrice.DefaultDP,IEXTradingParser.Data,YahooParser.Data
-
Nested Class Summary
Nested ClassesNested 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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDatePrice(CharSequence text) protectedDatePrice(CharSequence text, DateTimeFormatter formatter) protected -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(PrimitiveNumber reference) booleancontainsKey(Object key) booleancontainsValue(Object value) final doublebooleanfinal LocalDategetKey()abstract doublegetPrice()inthashCode()keySet()static DatePriceof(CharSequence date, double price) static DatePriceof(CharSequence date, CharSequence price) static DatePriceof(CharSequence date, DateTimeFormatter formatter, double price) static DatePriceof(CharSequence date, DateTimeFormatter formatter, CharSequence price) static DatePricestatic DatePriceof(LocalDate date, CharSequence price) final StringtoString()Methods 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
-
date
-
-
Constructor Details
-
DatePrice
-
DatePrice
-
DatePrice
-
-
Method Details
-
of
-
of
-
of
-
of
-
of
-
of
-
compareTo
- Specified by:
compareToin interfaceComparable<PrimitiveNumber>
-
containsKey
- Specified by:
containsKeyin interfaceMap<LocalDate,PrimitiveNumber>
-
containsValue
- Specified by:
containsValuein interfaceMap<LocalDate,PrimitiveNumber>
-
doubleValue
public final double doubleValue()- Specified by:
doubleValuein interfaceNumberDefinition
-
equals
- Specified by:
equalsin interfaceMap<LocalDate,PrimitiveNumber> - Specified by:
equalsin interfaceMap.Entry<LocalDate,PrimitiveNumber> - Overrides:
equalsin classObject
-
get
- Specified by:
getin interfaceMap<LocalDate,PrimitiveNumber>
-
getKey
- Specified by:
getKeyin interfaceKeyValue<LocalDate,PrimitiveNumber> - Specified by:
getKeyin interfaceMap.Entry<LocalDate,PrimitiveNumber>
-
getPrice
public abstract double getPrice() -
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMap<LocalDate,PrimitiveNumber> - Specified by:
hashCodein interfaceMap.Entry<LocalDate,PrimitiveNumber> - Overrides:
hashCodein classObject
-
keySet
- Specified by:
keySetin interfaceMap<LocalDate,PrimitiveNumber>
-
toString
-