case class TypesSet(concreteTypes: Set[ObjectType], upperTypeBounds: Set[ObjectType])(implicit classHierarchy: ClassHierarchy) extends collection.TypesSet with Product with Serializable
An efficient representation of a set of types if some types are actually upper type bounds and hence already represent sets of types.
- Alphabetic
- By Inheritance
- TypesSet
- Serializable
- Serializable
- Product
- Equals
- TypesSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TypesSet(concreteTypes: Set[ObjectType], upperTypeBounds: Set[ObjectType])(implicit classHierarchy: ClassHierarchy)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def ++(tpes: Traversable[ObjectType]): TypesSet
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- final val concreteTypes: Set[ObjectType]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
equals(other: Any): Boolean
- Definition Classes
- TypesSet → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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).
- Definition Classes
- TypesSet
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
lazy val
hashCode: Int
- Definition Classes
- TypesSet → AnyRef → Any
-
def
isEmpty: Boolean
Returns
trueif this set is empty. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nonEmpty: Boolean
Returns
trueif this set contains at least one type. -
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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.Objectis stored in this set, then the size of this set is 1 even though it represents all known types.- Definition Classes
- TypesSet
-
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.
Returns a pair where the first set contains all concrete types and the second set contains all upper type bounds.
- Definition Classes
- TypesSet
- final val upperTypeBounds: Set[ObjectType]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )