scala.collection
Members list
Packages
Type members
Classlikes
Wraps the Iterable i
to a Set utilizing reference equality. It aims at efficiently creating a set in case the caller ensures that all elements in i
are unique. +
and -
are O(N) returning scala.collection.immutable.Set.
Wraps the Iterable i
to a Set utilizing reference equality. It aims at efficiently creating a set in case the caller ensures that all elements in i
are unique. +
and -
are O(N) returning scala.collection.immutable.Set.
Value parameters
- i
-
the underlying
Iterable
with unique elements.
Attributes
Attributes
- Supertypes
- Known subtypes
-
trait EdgeSettrait GraphEdgeSettrait AdjacencyListBaseEdgeSetclass AdjacencyListEdgeSetclass AdjacencyListEdgeSettrait GraphLikeEdgeSettrait NodeSettrait GraphNodeSettrait AdjacencyListBaseNodeSetclass AdjacencyListNodeSetclass AdjacencyListNodeSettrait GraphLikeNodeSettrait ArraySet[A]class SimpleArraySet[A]class ExtHashSet[A]Show all
- Self type
-
Set[A]
Template for sets having a withFilter
that keeps Set
semantics. This class becomes obsolete as soon as scala.collection.Set.withFilter
returns a Set
instead of just FilterMonadic
.
Template for sets having a withFilter
that keeps Set
semantics. This class becomes obsolete as soon as scala.collection.Set.withFilter
returns a Set
instead of just FilterMonadic
.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ExtSetMethods[A]trait EdgeSettrait GraphEdgeSettrait AdjacencyListBaseEdgeSetclass AdjacencyListEdgeSetclass AdjacencyListEdgeSettrait GraphLikeEdgeSettrait NodeSettrait GraphNodeSettrait AdjacencyListBaseNodeSetclass AdjacencyListNodeSetclass AdjacencyListNodeSettrait GraphLikeNodeSettrait ArraySet[A]class SimpleArraySet[A]class ExtHashSet[A]class FilteredSet[A]Show all
- Self type
-
Set[A]
A Set
implementation extended by FilterableSet
.
A Set
implementation extended by FilterableSet
.
Attributes
- Supertypes
-
trait FilterableSet[A]trait Set[A]trait Set[A]trait Equalstrait Iterable[A]trait Iterable[A]trait IterableOnce[A]class Objecttrait Matchableclass AnyShow all
Wraps the Iterable i
to a Seq. It helps to avoid the creation of a copy of the elements of i
when passing i
to repeated parameters of type A
. apply
is O(N).