Interface IncrementalHashCodeProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int updateHash​(int oldHash, int idx, int oldVal, int newVal)
      Updates the old hash value and returns the new one, assuming that the value at index idx was changed from oldVal to newVal.
      int updateHash​(int oldHash, int idx, short oldVal, short newVal)
      Updates the old hash value and returns the new one, assuming that the value at index idx was changed from oldVal to newVal.
    • Method Detail

      • updateHash

        int updateHash​(int oldHash,
                       int idx,
                       short oldVal,
                       short newVal)
        Updates the old hash value and returns the new one, assuming that the value at index idx was changed from oldVal to newVal. Note that idx should be an index into the concatenation of the arrays previously provided in the call to hash().
        Parameters:
        oldHash -
        idx -
        oldVal -
        newVal -
        Returns:
      • updateHash

        int updateHash​(int oldHash,
                       int idx,
                       int oldVal,
                       int newVal)
        Updates the old hash value and returns the new one, assuming that the value at index idx was changed from oldVal to newVal. Note that idx should be an index into the concatenation of the arrays previously provided in the call to hash().
        Parameters:
        oldHash -
        idx -
        oldVal -
        newVal -
        Returns: