A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scala-lang.org/api/3.x/scala/util/hashing/Hashing.html below:

Hashing

Hashing

scala.util.hashing.Hashing

See theHashing companion object trait Hashing[T] extends Serializable

Hashing is a trait whose instances each represent a strategy for hashing instances of a type.

Hashing's companion object defines a default hashing strategy for all objects - it calls their ## method.

Note: when using a custom Hashing, make sure to use it with the Equiv such that if any two objects are equal, then their hash codes must be equal.

Attributes
Companion
object
Source
Hashing.scala
Graph
Supertypes

trait

Serializable

class

Object

trait

Matchable

class

Any
Known subtypes

class

MangledHashing

[

K

]

class

ByteswapHashing

[

T

]

class

Default

[

T

]

class

ArrayHashing

[

T

]

Members list

Value members

Abstract methods

def hash

(

x

:

T

):

Int Attributes
Source
Hashing.scala

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4