cc.factorie.variable

SetVariable

class SetVariable[A] extends SetVar[A]

A variable whose value is a set elements of type A. Internally the values are stored in a scala.collection.mutable.HashSet.

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

Instance Constructors

  1. new SetVariable()

Type Members

  1. case class SetVariableAddAllDiff(added: Iterable[A]) extends Diff with Product with Serializable

  2. case class SetVariableAddDiff(added: A) extends Diff with Product with Serializable

  3. case class SetVariableRemoveAllDiff(removed: Iterable[A]) extends Diff with Product with Serializable

  4. case class SetVariableRemoveDiff(removed: A) extends Diff with Product with Serializable

  5. type Value = Set[A]

    Definition Classes
    SetVariableSetVarVar

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 ++=(xs: Iterable[A]): Unit

  6. final def +=(x: A): Unit

  7. final def --=(xs: Iterable[A]): Unit

  8. final def -=(x: A): Unit

  9. final def ==(arg0: AnyRef): Boolean

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

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

    Value comparisons (as distinct from variable pointer equality)

    Value comparisons (as distinct from variable pointer equality)

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

  13. def addAll(xs: Iterable[A])(implicit d: DiffList): Unit

  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

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

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

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

    Definition Classes
    AnyRef → Any
  19. def exists(f: (A) ⇒ Boolean): Boolean

    Definition Classes
    SetVar
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def forall(f: (A) ⇒ Boolean): Boolean

    Definition Classes
    SetVar
  22. def foreach[U](f: (A) ⇒ U): Unit

    Definition Classes
    SetVar
  23. final def getClass(): Class[_]

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

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

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

    Definition Classes
    SetVariableSetVar
  27. def map[B](f: (A) ⇒ B): Set[B]

    Definition Classes
    SetVar
  28. def members: Set[A]

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

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

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

    Definition Classes
    AnyRef
  32. def printName: String

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

  34. def removeAll(xs: Iterable[A])(implicit d: DiffList): Unit

  35. def size: Int

    Definition Classes
    SetVariableSetVar
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    Var → AnyRef → Any
  38. def value: HashSet[A]

    Abstract method to return the value of this variable.

    Abstract method to return the value of this variable.

    Definition Classes
    SetVariableSetVarVar
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SetVar[A]

Inherited from Var

Inherited from AnyRef

Inherited from Any

Ungrouped