Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.util/scala.util.hashing/Hashing

Hashing

scala.util.hashing.Hashing
See theHashing companion object
traitHashing[T] extendsSerializable

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 customHashing, make sure to use it with theEquiv such that if any two objects are equal, then their hash codes must be equal.

Attributes

Companion
object
Source
Hashing.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Known subtypes
classDefault[T]
classArrayHashing[T]

Members list

Value members

Abstract methods

defhash(x:T):Int

Attributes

Source
Hashing.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp