abstract class TypesSet extends AnyRef
An efficient representation of a set of types if some types are actually upper type bounds and hence already represent sets of types.
- Source
- TypesSet.scala
- Alphabetic
- By Inheritance
- TypesSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TypesSet()
Abstract Value Members
- abstract def concreteTypes: Set[ObjectType]
- abstract def upperTypeBounds: Set[ObjectType]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def equals(other: Any): Boolean
- Definition Classes
- TypesSet → AnyRef → Any
- def foreach[U](f: (ObjectType, Boolean) => U): Unit
- f
A call back function will be called for each type stored in the set along with the information if type represents an upper type bound (
true
) or refers to a concrete class/interface type (the second parameter is thenfalse
).
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final lazy val hashCode: Int
- Definition Classes
- TypesSet → AnyRef → Any
- def isEmpty: Boolean
Returns
true
if this set is empty.Returns
true
if this set is empty.- See also
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
Returns
true
if this set contains at least one type.Returns
true
if this set contains at least one type.- See also
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def size: Int
The number of types explicitly stored in the set.
The number of types explicitly stored in the set. This number is independent of the number of represented types. E.g., if
java.lang.Object
is stored in this set, then the size of this set is 1 even though it represents all known types. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- TypesSet → AnyRef → Any
- def types: (Set[ObjectType], Set[ObjectType])
Returns a pair where the first set contains all concrete types and the second set contains all upper type bounds.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated