cc.factorie.variable

ContainerVariable

trait ContainerVariable[A <: Var] extends Var

A variable that is a container for other variables (whose type is this.ContainedVariableType), A Template that neighbors a ContainerVariable subclass, will also unroll a Factor for changes to any Variables of type ContainedVariableType. This mechanism is used for implementing var-args in Template arguments; for example see Template2.factors.

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

Type Members

  1. type ContainedVariableType = A

  2. abstract type Value <: Seq[A.Value]

    Definition Classes
    ContainerVariableVar

Abstract Value Members

  1. abstract def value: Value

    Abstract method to return the value of this variable.

    Abstract method to return the value of this variable.

    Definition Classes
    Var

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def containedVariableManifest(implicit m: Manifest[A]): Manifest[A]

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  20. def printName: String

    Definition Classes
    Var
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    Var → AnyRef → Any
  23. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Var

Inherited from AnyRef

Inherited from Any

Ungrouped