Packages

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

Value Members

  1. def addElem(elem: T): 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.

    Definition Classes
    FlatHashTable
  2. def alwaysInitSizeMap: Boolean
    Definition Classes
    ParFlatHashTable → FlatHashTable
  3. def clearTable(): Unit
    Definition Classes
    FlatHashTable
  4. def containsElem(elem: T): Boolean

    Checks whether an element is contained in the hash table.

    Checks whether an element is contained in the hash table.

    Definition Classes
    FlatHashTable
  5. final def entryToElem(entry: AnyRef): T

    Does the inverse translation of elemToEntry

    Does the inverse translation of elemToEntry

    Definition Classes
    HashUtils
  6. def findEntry(elem: T): Option[T]

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

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

    Definition Classes
    FlatHashTable
  7. def init(in: ObjectInputStream, f: (T) => Unit): Unit

    Initializes the collection from the input stream.

    Initializes the collection from the input stream. f will be called for each element read from the input stream in the order determined by the stream. This is useful for structures where iteration order is important (e.g. LinkedHashSet).

    The serialization format expected is the one produced by serializeTo.

    Definition Classes
    FlatHashTable
  8. def initialSize: Int

    The initial size of the hash table.

    The initial size of the hash table.

    Definition Classes
    FlatHashTable
  9. def iterator: Iterator[T]
    Definition Classes
    FlatHashTable
  10. def removeElem(elem: T): 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.

    Definition Classes
    FlatHashTable
  11. def serializeTo(out: ObjectOutputStream): Unit

    Serializes the collection to the output stream by saving the load factor, collection size and collection elements.

    Serializes the collection to the output stream by saving the load factor, collection size and collection elements. foreach determines the order in which the elements are saved to the stream. To deserialize, init should be used.

    Definition Classes
    FlatHashTable
  12. def size: Int
    Definition Classes
    FlatHashTable
  13. val table: Array[AnyRef]

    The actual hash table.

    The actual hash table.

    Definition Classes
    FlatHashTable