|
uncarved-helpers
|
|
com/uncarved/helpers/HashHelper.scala]
class
HashHelper(seedOpt : scala.Option[Int], primeOpt : scala.Option[Int])
extends AnyRefhashCodeseedOpt - An optional starting seedprimeOpt - An optional prime number used when combining results| Additional Constructor Summary | |
def
|
this (s : Int) : HashHelper |
def
|
this : HashHelper |
def
|
this (s : Int, p : Int) : HashHelper |
| Value Summary | |
var
|
contents : Int |
val
|
prime : Int |
val
|
seed : Int |
| Method Summary | |
def
|
add (x : Double) : Int |
def
|
add (x : Char) : Int |
def
|
add (x : Boolean) : Int |
def
|
add (x : java.lang.String) : Int |
def
|
add (x : Int) : Int |
def
|
add (x : Float) : Int |
def
|
add (x : Long) : Int |
def
|
get : Int |
def
|
reset : Unit |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Additional Constructor Details |
| Value Details |
| Method Details |
|
uncarved-helpers
|
|