Class

org.opalj.br.collection.mutable

TypesSet

Related Doc: package mutable

Permalink

class TypesSet extends collection.TypesSet

An efficient representation of a set of types if some types are actually upper type bounds and hence already represent sets of types.

Thread Safety

This class is not thread safe.

Linear Supertypes
collection.TypesSet, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypesSet
  2. TypesSet
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypesSet(classHierarchy: ClassHierarchy)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++<:=(tpes: Traversable[ObjectType]): Unit

    Permalink
  4. def ++=(tpes: Traversable[ObjectType]): Unit

    Permalink
  5. def +<:=(tpe: ObjectType): Unit

    Permalink

    Adds the given upper type bound to this TypesSet unless a supertype of the given type is already added as an upper type bound.

    Adds the given upper type bound to this TypesSet unless a supertype of the given type is already added as an upper type bound.

    All subtypes – whether concrete or upper types bounds – are removed.

  6. def +=(tpe: ObjectType): Unit

    Permalink
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. final val classHierarchy: ClassHierarchy

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def concreteTypes: Set[ObjectType]

    Permalink

    The set of concrete types which are not subtypes of any type which is returned by upperTypeBounds.

    The set of concrete types which are not subtypes of any type which is returned by upperTypeBounds.

    Definition Classes
    TypesSetTypesSet
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def equals(other: Any): Boolean

    Permalink
    Definition Classes
    TypesSet → AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def foreach[U](f: (ObjectType, Boolean) ⇒ U): Unit

    Permalink

    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 then false).

    Definition Classes
    TypesSet
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. final lazy val hashCode: Int

    Permalink
    Definition Classes
    TypesSet → AnyRef → Any
  18. def isEmpty: Boolean

    Permalink

    Returns true if this set is empty.

    Returns true if this set is empty.

    Definition Classes
    TypesSet
    See also

    size

  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def nonEmpty: Boolean

    Permalink

    Returns true if this set contains at least one type.

    Returns true if this set contains at least one type.

    Definition Classes
    TypesSet
    See also

    size

  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def size: Int

    Permalink

    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.

    Definition Classes
    TypesSet
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. var theConcreteTypes: Set[ObjectType]

    Permalink
    Attributes
    protected[this]
  27. var theUpperTypeBounds: Set[ObjectType]

    Permalink
    Attributes
    protected[this]
  28. def toString(): String

    Permalink
    Definition Classes
    TypesSet → AnyRef → Any
  29. def types: (Set[ObjectType], Set[ObjectType])

    Permalink

    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
  30. final def upperTypeBounds: Set[ObjectType]

    Permalink
    Definition Classes
    TypesSetTypesSet
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from collection.TypesSet

Inherited from AnyRef

Inherited from Any

Ungrouped