scala.collection.mutable

FlatHashTable

trait FlatHashTable[A] extends HashUtils[A]

An implementation class backing a HashSet.

This trait is used internally. It can be mixed in with various collections relying on hash table as an implementation.

Source
FlatHashTable.scala
Linear Supertypes
HashUtils[A], AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FlatHashTable
  2. HashUtils
  3. AnyRef
  4. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from FlatHashTable[A] to StringAdd[FlatHashTable[A]] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (FlatHashTable[A], B)

    Implicit information
    This member is added by an implicit conversion from FlatHashTable[A] to ArrowAssoc[FlatHashTable[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def addElem(elem: A): Boolean

    Add elem if not yet in table.

    Add elem if not yet in table.

    returns

    Returns true if a new elem was added, false otherwise.

    Attributes
    protected
  9. def addEntry(newEntry: AnyRef): Boolean

    Add an entry (an elem converted to an entry via elemToEntry) if not yet in table.

    Add an entry (an elem converted to an entry via elemToEntry) if not yet in table.

    returns

    Returns true if a new elem was added, false otherwise.

    Attributes
    protected
  10. def alwaysInitSizeMap: Boolean

    Attributes
    protected
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def calcSizeMapSize(tableLength: Int): Int

    Attributes
    protected
  13. def capacity(expectedSize: Int): Int

    Attributes
    protected
  14. def clearTable(): Unit

    Attributes
    protected
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def containsElem(elem: A): Boolean

    Checks whether an element is contained in the hash table.

    Checks whether an element is contained in the hash table.

    Attributes
    protected
  17. final def elemToEntry(elem: A): AnyRef

    Elems have type A, but we store AnyRef in the table.

    Elems have type A, but we store AnyRef in the table. Plus we need to deal with null elems, which need to be stored as NullSentinel

    Attributes
    protected
    Definition Classes
    HashUtils
  18. def ensuring(cond: (FlatHashTable[A]) ⇒ Boolean, msg: ⇒ Any): FlatHashTable[A]

    Implicit information
    This member is added by an implicit conversion from FlatHashTable[A] to Ensuring[FlatHashTable[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (FlatHashTable[A]) ⇒ Boolean): FlatHashTable[A]

    Implicit information
    This member is added by an implicit conversion from FlatHashTable[A] to Ensuring[FlatHashTable[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: ⇒ Any): FlatHashTable[A]

    Implicit information
    This member is added by an implicit conversion from FlatHashTable[A] to Ensuring[FlatHashTable[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): FlatHashTable[A]

    Implicit information
    This member is added by an implicit conversion from FlatHashTable[A] to Ensuring[FlatHashTable[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def entryToElem(entry: AnyRef): A

    Does the inverse translation of elemToEntry

    Does the inverse translation of elemToEntry

    Attributes
    protected
    Definition Classes
    HashUtils
  23. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def findEntry(elem: A): Option[A]

    Finds an entry in the hash table if such an element exists.

    Finds an entry in the hash table if such an element exists.

    Attributes
    protected
  27. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from FlatHashTable[A] to StringFormat[FlatHashTable[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  28. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. final def improve(hcode: Int, seed: Int): Int

    Attributes
    protected
    Definition Classes
    HashUtils
  31. final def index(hcode: Int): Int

    Attributes
    protected
  32. def initWithContents(c: Contents[A]): Unit

    Attributes
    protected
  33. def initialSize: Int

    The initial size of the hash table.

  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. def isSizeMapDefined: Boolean

    Attributes
    protected
  36. def iterator: Iterator[A]

    Attributes
    protected
  37. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. def nnSizeMapAdd(h: Int): Unit

    Attributes
    protected
  39. def nnSizeMapRemove(h: Int): Unit

    Attributes
    protected
  40. def nnSizeMapReset(tableLength: Int): Unit

    Attributes
    protected
  41. final def notify(): Unit

    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  43. def randomSeed: Int

    Attributes
    protected
  44. def removeElem(elem: A): Boolean

    Removes an elem from the hash table returning true if the element was found (and thus removed) or false if it didn't exist.

    Removes an elem from the hash table returning true if the element was found (and thus removed) or false if it didn't exist.

    Attributes
    protected
  45. var seedvalue: Int

    Attributes
    protected
  46. final def sizeMapBucketBitSize: Int

    Attributes
    protected
    Definition Classes
    HashUtils
  47. final def sizeMapBucketSize: Int

    Attributes
    protected
    Definition Classes
    HashUtils
  48. def sizeMapDisable(): Unit

    Attributes
    protected
  49. def sizeMapInit(tableLength: Int): Unit

    Attributes
    protected
  50. def sizeMapInitAndRebuild(): Unit

    Attributes
    protected
  51. var sizemap: Array[Int]

    The array keeping track of number of elements in 32 element blocks.

    The array keeping track of number of elements in 32 element blocks.

    Attributes
    protected
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  53. var table: Array[AnyRef]

    The actual hash table.

    The actual hash table.

    Attributes
    protected
  54. var tableSize: Int

    The number of mappings contained in this hash table.

    The number of mappings contained in this hash table.

    Attributes
    protected
  55. def tableSizeSeed: Int

    Attributes
    protected
  56. var threshold: Int

    The next size value at which to resize (capacity * load factor).

    The next size value at which to resize (capacity * load factor).

    Attributes
    protected
  57. def toString(): String

    Definition Classes
    AnyRef → Any
  58. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. def [B](y: B): (FlatHashTable[A], B)

    Implicit information
    This member is added by an implicit conversion from FlatHashTable[A] to ArrowAssoc[FlatHashTable[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from HashUtils[A]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from FlatHashTable[A] to StringAdd[FlatHashTable[A]]

Inherited by implicit conversion StringFormat from FlatHashTable[A] to StringFormat[FlatHashTable[A]]

Inherited by implicit conversion Ensuring from FlatHashTable[A] to Ensuring[FlatHashTable[A]]

Inherited by implicit conversion ArrowAssoc from FlatHashTable[A] to ArrowAssoc[FlatHashTable[A]]

Ungrouped