Class DatePrice

    • Field Detail

      • date

        public final java.time.LocalDate date
    • Constructor Detail

      • DatePrice

        protected DatePrice​(java.lang.CharSequence text)
      • DatePrice

        protected DatePrice​(java.lang.CharSequence text,
                            java.time.format.DateTimeFormatter formatter)
      • DatePrice

        protected DatePrice​(java.time.LocalDate key)
    • Method Detail

      • of

        public static DatePrice of​(java.lang.CharSequence date,
                                   java.lang.CharSequence price)
      • of

        public static DatePrice of​(java.lang.CharSequence date,
                                   java.time.format.DateTimeFormatter formatter,
                                   java.lang.CharSequence price)
      • of

        public static DatePrice of​(java.lang.CharSequence date,
                                   java.time.format.DateTimeFormatter formatter,
                                   double price)
      • of

        public static DatePrice of​(java.lang.CharSequence date,
                                   double price)
      • of

        public static DatePrice of​(java.time.LocalDate date,
                                   java.lang.CharSequence price)
      • of

        public static DatePrice of​(java.time.LocalDate date,
                                   double price)
      • containsKey

        public boolean containsKey​(java.lang.Object key)
        Specified by:
        containsKey in interface java.util.Map<java.time.LocalDate,​PrimitiveNumber>
      • containsValue

        public boolean containsValue​(java.lang.Object value)
        Specified by:
        containsValue in interface java.util.Map<java.time.LocalDate,​PrimitiveNumber>
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface java.util.Map<java.time.LocalDate,​PrimitiveNumber>
        Specified by:
        equals in interface java.util.Map.Entry<java.time.LocalDate,​PrimitiveNumber>
        Overrides:
        equals in class java.lang.Object
      • getKey

        public final java.time.LocalDate getKey()
        Specified by:
        getKey in interface KeyValue<java.time.LocalDate,​PrimitiveNumber>
        Specified by:
        getKey in interface java.util.Map.Entry<java.time.LocalDate,​PrimitiveNumber>
      • getPrice

        public abstract double getPrice()
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Map<java.time.LocalDate,​PrimitiveNumber>
        Specified by:
        hashCode in interface java.util.Map.Entry<java.time.LocalDate,​PrimitiveNumber>
        Overrides:
        hashCode in class java.lang.Object
      • keySet

        public java.util.Set<java.time.LocalDate> keySet()
        Specified by:
        keySet in interface java.util.Map<java.time.LocalDate,​PrimitiveNumber>
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object