cc.factorie.variable

WeakSetVariable

class WeakSetVariable[A <: AnyRef { def present: Boolean }] extends Var

A variable whose value is a set of elements of type A, but here we keep only weak references to the elements, so that if no external references are kept, the element may be garbage collected. This class has no "size" method because the size is unreliably dependent on garbage collection.

Linear Supertypes
Var, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WeakSetVariable
  2. Var
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WeakSetVariable()

Type Members

  1. type Value = Set[A]

    Definition Classes
    WeakSetVariableVar
  2. case class WeakSetVariableAddDiff(added: A) extends Diff with Product with Serializable

  3. case class WeakSetVariableRemoveDiff(removed: A) extends Diff with Product with Serializable

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. def !==(other: Var): Boolean

    Definition Classes
    Var
  4. final def ##(): Int

    Definition Classes
    AnyRef → Any
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. def ===(other: Var): Boolean

    Value comparisons (as distinct from variable pointer equality)

    Value comparisons (as distinct from variable pointer equality)

    Definition Classes
    Var
  8. def add(x: A)(implicit d: DiffList): Unit

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def contains(x: A): Boolean

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def iterator: Iterator[A]

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def printName: String

    Definition Classes
    Var
  23. def remove(x: A)(implicit d: DiffList): Unit

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    Var → AnyRef → Any
  26. def value: Set[A]

    Abstract method to return the value of this variable.

    Abstract method to return the value of this variable.

    Definition Classes
    WeakSetVariableVar
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Var

Inherited from AnyRef

Inherited from Any

Ungrouped