hashCode {SparkR} | R Documentation |
Java-style function to compute the hashCode for the given object. Returns an integer value.
hashCode(key)
key |
the object to be hashed |
This only works for integer, numeric and character types right now.
the hash code as an integer
hashCode since 1.4.0
## Not run:
##D hashCode(1L) # 1
##D hashCode(1.0) # 1072693248
##D hashCode("1") # 49
## End(Not run)