Uniques

dotty.tools.dotc.core.Uniques
See theUniques companion object
class Uniques extends WeakHashSet[Type]

Attributes

Companion
object
Graph
Supertypes
class WeakHashSet[Type]
class MutableSet[Type]
class ReadOnlySet[Type]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type This = WeakHashSet[A]

Attributes

Inherited from:
WeakHashSet

Value members

Concrete methods

override def hash(x: Type): Int

Attributes

Definition Classes
override def isEqual(x: Type, y: Type): Boolean

Attributes

Definition Classes

Inherited methods

def ++=(xs: IterableOnce[Type]): Unit

Attributes

Inherited from:
MutableSet
def +=(elem: Type): Unit

Add element x to the set

Add element x to the set

Attributes

Inherited from:
WeakHashSet
def --=(xs: IterableOnce[Type]): Unit

Attributes

Inherited from:
MutableSet
def -=(elem: Type): Unit

Remove element x from the set

Remove element x from the set

Attributes

Inherited from:
WeakHashSet
def clear(resetToInitial: Boolean): Unit

Remove all elements from this set.

Remove all elements from this set.

Value parameters

resetToInitial

If true, set back to initial configuration, which includes reallocating tables.

Attributes

Inherited from:
WeakHashSet
def contains(x: Type): Boolean

Attributes

Inherited from:
ReadOnlySet
def foreach[U](f: Type => U): Unit

Attributes

Inherited from:
ReadOnlySet

Attributes

Inherited from:
ReadOnlySet
override def iterator: Iterator[A]

Attributes

Definition Classes
Inherited from:
WeakHashSet
def lookup(elem: Type): A | Null

The entry in the set such that isEqual(x, entry), or else null.

The entry in the set such that isEqual(x, entry), or else null.

Attributes

Inherited from:
WeakHashSet
def put(elem: Type): A

Like += but return existing element equal to x of it exists, x itself otherwise.

Like += but return existing element equal to x of it exists, x itself otherwise.

Attributes

Inherited from:
WeakHashSet
def size: Int

Attributes

Inherited from:
WeakHashSet
def toList: List[T]

Attributes

Inherited from:
ReadOnlySet