Class/Object

com.twitter.algebird

BFInstance

Related Docs: object BFInstance | package algebird

Permalink

case class BFInstance[A](hashes: BFHash[A], bits: BitSet, width: Int) extends BF[A] with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, BF[A], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BFInstance
  2. Serializable
  3. Product
  4. Equals
  5. BF
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BFInstance(hashes: BFHash[A], bits: BitSet, width: Int)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(item: A): BFInstance[A]

    Permalink
    Definition Classes
    BFInstanceBF
  4. def ++(other: BF[A]): BF[A]

    Permalink
    Definition Classes
    BFInstanceBF
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val bits: BitSet

    Permalink
  8. def checkAndAdd(other: A): (BF[A], ApproximateBoolean)

    Permalink
    Definition Classes
    BFInstanceBF
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def contains(item: A): ApproximateBoolean

    Permalink
    Definition Classes
    BF
  11. def density: Double

    Permalink

    Proportion of bits that are set to true.

    Proportion of bits that are set to true.

    Definition Classes
    BF
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hammingDistance(that: BF[A]): Int

    Permalink

    Compute the Hamming distance between the two Bloom filters a and b.

    Compute the Hamming distance between the two Bloom filters a and b. The distance is defined as the number of bits that need to change to in order to transform one filter into the other.

    Definition Classes
    BF
  16. val hashes: BFHash[A]

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def maybeContains(item: A): Boolean

    Permalink

    This may be faster if you don't care about evaluating the false positive probability

    This may be faster if you don't care about evaluating the false positive probability

    Definition Classes
    BFInstanceBF
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def numBits: Int

    Permalink

    The number of bits set to true

    The number of bits set to true

    Definition Classes
    BFInstanceBF
  23. def numHashes: Int

    Permalink
    Definition Classes
    BFInstanceBF
  24. def size: Approximate[Long]

    Permalink
    Definition Classes
    BFInstanceBF
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toBitSet: BitSet

    Permalink
    Definition Classes
    BFInstanceBF
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. val width: Int

    Permalink
    Definition Classes
    BFInstanceBF

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BF[A]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped