Default
Default hints equaling to Hints(16, 32, 48, 80)
Attributes
- Graph
-
- Supertypes
- Self type
-
Default.type
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Value members
Inherited methods
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Inherited from:
- Singleton
Returns a positive number > currentCapacity for an array or 0 for a hash table.
Returns a positive number > currentCapacity for an array or 0 for a hash table.
Attributes
- Inherited from:
- Hints
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Concrete fields
The size of free space to add to the initialCapacity
whenever the size of this Set
becomes greater than the initialCapacity
. It should be chosen such that incrementing need not take place too often.
The size of free space to add to the initialCapacity
whenever the size of this Set
becomes greater than the initialCapacity
. It should be chosen such that incrementing need not take place too often.
Attributes
Compact the underlying Array
only if it has at most used space of this percentage. Compression takes place only user-triggered by a call to compact
. The higher this value the more often compact
leads to a compression. 0
means never, 100
means always compact.
Compact the underlying Array
only if it has at most used space of this percentage. Compression takes place only user-triggered by a call to compact
. The higher this value the more often compact
leads to a compression. 0
means never, 100
means always compact.
Attributes
The internal representation of the adjacency list switches to a hash table when the number of edges at a given node exceeds this value. If both initialCapacity
and capacityIncrement
and this value are set to 0
a solely hash table representation will be used irrespective of the set size
. This value should be close to the size
limit an Array
representation is more efficient on the JVM with regard to looking up a given element based on ==
as opposite to hashCode
. Varying with JVM implementations/configurations this limit may come in somewhere between 10 and 30.
The internal representation of the adjacency list switches to a hash table when the number of edges at a given node exceeds this value. If both initialCapacity
and capacityIncrement
and this value are set to 0
a solely hash table representation will be used irrespective of the set size
. This value should be close to the size
limit an Array
representation is more efficient on the JVM with regard to looking up a given element based on ==
as opposite to hashCode
. Varying with JVM implementations/configurations this limit may come in somewhere between 10 and 30.
Attributes
The initial length of the internal Array
representation. It should be chosen such that it's greater than the final size
in a significant percentage of cases. The less heap space is a concern, the higher initialCapacity
may be set.
The initial length of the internal Array
representation. It should be chosen such that it's greater than the final size
in a significant percentage of cases. The less heap space is a concern, the higher initialCapacity
may be set.