Interface WritableDoubleDataStore

    • Method Detail

      • put

        @Deprecated
        java.lang.Double put​(DBIDRef id,
                             java.lang.Double value)
        Deprecated.
        Use putDouble(elki.database.ids.DBIDRef, double) instead, to avoid boxing/unboxing cost.
        Setter, but using objects.
        Specified by:
        put in interface WritableDataStore<java.lang.Double>
        Parameters:
        id - Database ID.
        value - Value to store.
        Returns:
        previous value
      • putDouble

        double putDouble​(DBIDRef id,
                         double value)
        Associates the specified value with the specified id in this storage. If the storage previously contained a value for the id, the previous value is replaced by the specified value.
        Parameters:
        id - Database ID.
        value - Value to store.
        Returns:
        previous value
      • put

        double put​(DBIDRef id,
                   double value)
        Associates the specified value with the specified id in this storage. If the storage previously contained a value for the id, the previous value is replaced by the specified value.
        Parameters:
        id - Database ID.
        value - Value to store.
        Returns:
        previous value
      • increment

        void increment​(DBIDRef id,
                       double value)
        Increment the specified value with the specified id in this storage.
        Parameters:
        id - Database ID.
        value - Value to add to the previous value.