Trait

scala.collection.parallel.mutable

ParFlatHashTable

Related Doc: package mutable

Permalink

trait ParFlatHashTable[T] extends FlatHashTable[T]

Parallel flat hash table.

T

type of the elements in the table.

Linear Supertypes
FlatHashTable[T], HashUtils[T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParFlatHashTable
  2. FlatHashTable
  3. HashUtils
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class ParFlatHashTableIterator extends IterableSplitter[T] with SizeMapUtils

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addElem(elem: T): Boolean

    Permalink

    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
    Definition Classes
    FlatHashTable
  5. def addEntry(newEntry: AnyRef): Boolean

    Permalink

    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
    Definition Classes
    FlatHashTable
  6. def alwaysInitSizeMap: Boolean

    Permalink
    Definition Classes
    ParFlatHashTableFlatHashTable
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def calcSizeMapSize(tableLength: Int): Int

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  9. def capacity(expectedSize: Int): Int

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
  10. def clearTable(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
  11. def clone(): AnyRef

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

    Permalink

    Checks whether an element is contained in the hash table.

    Checks whether an element is contained in the hash table.

    Attributes
    protected
    Definition Classes
    FlatHashTable
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  13. final def elemToEntry(elem: T): AnyRef

    Permalink

    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
  14. final def entryToElem(entry: AnyRef): T

    Permalink

    Does the inverse translation of elemToEntry

    Does the inverse translation of elemToEntry

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

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

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

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

    Permalink

    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
    Definition Classes
    FlatHashTable
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  19. final def getClass(): Class[_]

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
  23. def initWithContents(c: Contents[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
  24. def initialSize: Int

    Permalink

    The initial size of the hash table.

    The initial size of the hash table.

    Definition Classes
    FlatHashTable
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def isSizeMapDefined: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
  27. def iterator: Iterator[T]

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
  28. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  30. def nnSizeMapRemove(h: Int): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  31. def nnSizeMapReset(tableLength: Int): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  32. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  34. def randomSeed: Int

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
  35. def removeElem(elem: T): Boolean

    Permalink

    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
    Definition Classes
    FlatHashTable
  36. var seedvalue: Int

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
  37. final def sizeMapBucketBitSize: Int

    Permalink
    Attributes
    protected
    Definition Classes
    HashUtils
  38. final def sizeMapBucketSize: Int

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

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
  40. def sizeMapInit(tableLength: Int): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  41. def sizeMapInitAndRebuild(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  42. var sizemap: Array[Int]

    Permalink

    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
    Definition Classes
    FlatHashTable
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  44. var table: Array[AnyRef]

    Permalink

    The actual hash table.

    The actual hash table.

    Attributes
    protected
    Definition Classes
    FlatHashTable
  45. var tableSize: Int

    Permalink

    The number of mappings contained in this hash table.

    The number of mappings contained in this hash table.

    Attributes
    protected
    Definition Classes
    FlatHashTable
  46. def tableSizeSeed: Int

    Permalink
    Attributes
    protected
    Definition Classes
    FlatHashTable
  47. var threshold: Int

    Permalink

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

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

    Attributes
    protected
    Definition Classes
    FlatHashTable
  48. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FlatHashTable[T]

Inherited from HashUtils[T]

Inherited from AnyRef

Inherited from Any

Ungrouped