ParFlatHashTable
Parallel flat hash table.
Type parameters
- T
-
type of the elements in the $coll.
Attributes
- Graph
-
- Supertypes
-
trait HashUtils[T]class Objecttrait Matchableclass Any
- Known subtypes
-
class ParHashSet[T]
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait IterableSplitter[T]trait DelegatedSignallingtrait Signallingtrait Splitter[T]trait Iterator[T]trait IterableOnce[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ParHashSetIterator
Value members
Concrete methods
Attributes
- Definition Classes
-
FlatHashTable
Inherited methods
Add elem if not yet in table.
Add elem if not yet in table.
Attributes
- Returns
-
Returns
true
if a new elem was added,false
otherwise. - Inherited from:
- FlatHashTable (hidden)
Attributes
- Inherited from:
- FlatHashTable (hidden)
Checks whether an element is contained in the hash table.
Checks whether an element is contained in the hash table.
Attributes
- Inherited from:
- FlatHashTable (hidden)
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
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
- Inherited from:
- HashUtils
Does the inverse translation of elemToEntry
Does the inverse translation of elemToEntry
Attributes
- Inherited from:
- HashUtils
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
- Inherited from:
- FlatHashTable (hidden)
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).
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
.
Attributes
- Inherited from:
- FlatHashTable (hidden)
The initial size of the hash table.
The initial size of the hash table.
Attributes
- Inherited from:
- FlatHashTable (hidden)
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
- Inherited from:
- FlatHashTable (hidden)
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.
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.
Attributes
- Inherited from:
- FlatHashTable (hidden)
Attributes
- Inherited from:
- HashUtils
Attributes
- Inherited from:
- HashUtils