com
.
twitter
.
algebird
CMSHash
Related Doc:
package algebird
case class
CMSHash
[
K
]
(
a:
Int
,
b:
Int
,
width:
Int
)
(
implicit
evidence$30:
CMSHasher
[
K
]
)
extends
Serializable
with
Product
with
Serializable
Source
CountMinSketch.scala
Linear Supertypes
Serializable
,
Product
,
Equals
,
Serializable
,
AnyRef
,
Any
Type Hierarchy
CMSHash[K]
Serializable
Product
Serializable
Ordering
Alphabetic
By Inheritance
Inherited
CMSHash
Serializable
Product
Equals
Serializable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
CMSHash
(
a:
Int
,
b:
Int
,
width:
Int
)
(
implicit
arg0:
CMSHasher
[
K
]
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
a
:
Int
def
apply
(
x:
K
)
:
Int
Returns
a * x + b (mod p) (mod width)
.
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
b
:
Int
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
width
:
Int
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped