Enables tuning of the internal representation of adjacency lists.
Returns an empty set with built-in hints constructed from size
.
Returns an empty set with default hints that can grow as expected.
Returns an empty set with default hints that can grow as expected.
Returns an empty set with custom hints that can grow as expected.
Returns a special representation of an empty ArraySet
that cannot grow but must be replaced
by a normal ArraySet
obtained e.
Returns a special representation of an empty ArraySet
that cannot grow but must be replaced
by a normal ArraySet
obtained e.g. by a call to empty
or apply
. This aims diminishing
heap consumption so it may be desirable to use whenever many empty ArraySet
s must be hold.
Note that both +=
and -=
throw IllegalAccessError
.