implicit final class ApproxFilterIterable[T] extends AnyVal
- Source
- package.scala
- Alphabetic
- By Inheritance
- ApproxFilterIterable
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ApproxFilterIterable(self: Iterable[T])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def asApproxFilter[C <: ApproxFilterCompanion](c: C, expectedInsertions: Long, fpp: Double)(implicit hash: asApproxFilter.C.Hash[T]): asApproxFilter.C.Filter[T]
Creates an ApproxFilter from this Iterable with the expected number of insertions and expected false positive probability.
Creates an ApproxFilter from this Iterable with the expected number of insertions and expected false positive probability.
Note that overflowing an ApproxFilter with significantly more elements than specified, will result in its saturation, and a sharp deterioration of its false positive probability.
- c
companion object of the ApproxFilter implementation, e.g. BloomFilter.
- def asApproxFilter[C <: ApproxFilterCompanion](c: C, expectedInsertions: Long)(implicit hash: asApproxFilter.C.Hash[T]): asApproxFilter.C.Filter[T]
Creates an ApproxFilter from this Iterable with the expected number of insertions and default
fpp
of 0.03.Creates an ApproxFilter from this Iterable with the expected number of insertions and default
fpp
of 0.03.Note that overflowing an ApproxFilter with significantly more elements than specified, will result in its saturation, and a sharp deterioration of its false positive probability.
- c
companion object of the ApproxFilter implementation, e.g. BloomFilter.
- def asApproxFilter[C <: ApproxFilterCompanion](c: C)(implicit hash: asApproxFilter.C.Hash[T]): asApproxFilter.C.Filter[T]
Creates an ApproxFilter from this Iterable with the collection size as
expectedInsertions
and defaultfpp
of 0.03.Creates an ApproxFilter from this Iterable with the collection size as
expectedInsertions
and defaultfpp
of 0.03.Note that overflowing an ApproxFilter with significantly more elements than specified, will result in its saturation, and a sharp deterioration of its false positive probability.
- c
companion object of the ApproxFilter implementation, e.g. BloomFilter.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any