Class

com.twitter.algebird

BFItem

Related Doc: package algebird

Permalink

case class BFItem[A](item: A, hashes: BFHash[A], width: Int) extends BF[A] with Product with Serializable

Bloom Filter with 1 value.

Linear Supertypes
Serializable, Product, Equals, BF[A], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BFItem
  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 BFItem(item: A, hashes: BFHash[A], 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 +(other: A): BF[A]

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

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

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

    Permalink
    Definition Classes
    Any
  7. def checkAndAdd(other: A): (BF[A], ApproximateBoolean)

    Permalink
    Definition Classes
    BFItemBF
  8. def clone(): AnyRef

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

    Permalink
    Definition Classes
    BFItemBF
  10. def density: Double

    Permalink

    Proportion of bits that are set to true.

    Proportion of bits that are set to true.

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. 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
  15. val hashes: BFHash[A]

    Permalink
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val item: A

    Permalink
  18. def maybeContains(x: 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
    BFItemBF
  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 in the bloom filter

    The number of bits set to true in the bloom filter

    Definition Classes
    BFItemBF
  23. def numHashes: Int

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def toBitSet: BitSet

    Permalink
    Definition Classes
    BFItemBF
  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
    BFItemBF

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BF[A]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped