Uniques

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

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

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

Attributes

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

Add element x to the set

Add element x to the set

Attributes

Inherited from:
WeakHashSet

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(): Unit

Attributes

Inherited from:
WeakHashSet

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