cc.factorie.util.Cubbie

InverseSlot

case class InverseSlot[A <: Cubbie](name: String, slot: (A) ⇒ A.AbstractRefSlot[Cubbie])(implicit m: Manifest[A]) extends AbstractInverseSlot[A] with Product with Serializable

The Inverse slot is a default implementation of the AbstractInverseSlot.

A

the type of cubbies this slot contains.

name

the name for this slot.

slot

the foreign slot.

m

a manifest.

Linear Supertypes
Serializable, Serializable, Product, Equals, AbstractInverseSlot[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. InverseSlot
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AbstractInverseSlot
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InverseSlot(name: String, slot: (A) ⇒ A.AbstractRefSlot[Cubbie])(implicit m: Manifest[A])

    name

    the name for this slot.

    slot

    the foreign slot.

    m

    a manifest.

Value Members

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

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

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def cubbie: Cubbie.this.type

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

    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def foreignSlot: (Cubbie) ⇒ A.AbstractRefSlot[Cubbie]

    The slot of the cubbies that needs to have a particular target value for the cubbie to be in this slot.

    The slot of the cubbies that needs to have a particular target value for the cubbie to be in this slot.

    returns

    the foreign slot.

    Definition Classes
    InverseSlotAbstractInverseSlot
  12. final def getClass(): Class[_]

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

    Definition Classes
    Any
  14. def manifest: Manifest[Cubbie]

  15. val name: String

    the name for this slot.

    the name for this slot.

    Definition Classes
    InverseSlotAbstractInverseSlot
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. val slot: (A) ⇒ A.AbstractRefSlot[Cubbie]

    the foreign slot.

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

    Definition Classes
    AnyRef
  21. def target: Some[Any]

    What value does the foreign slot should have.

    What value does the foreign slot should have.

    returns

    Some(target-value) or None if this cubbie has no values in this slot.

    Definition Classes
    InverseSlotAbstractInverseSlot
  22. def unique: Boolean

    Can there be several cubbies with the target value?

    Can there be several cubbies with the target value?

    returns

    true iff there can be several cubbies with the given target value.

    Definition Classes
    AbstractInverseSlot
  23. def value(implicit cache: (InverseSlot[Cubbie]) ⇒ Iterable[Cubbie]): Iterable[A]

    This method returns some set of cubbies associated with this slot based on the provided cache object.

    This method returns some set of cubbies associated with this slot based on the provided cache object.

    cache

    A mapping from cubbie slots to iterables of cubbies. The iterable for this cubbie slot should correspond to a set of cubbies that have the given target value for the given slot.

    returns

    all cubbies that are associated with this slot in the cache.

  24. def value2(implicit cache: Map[(Class[Cubbie], String, Any), Iterable[Cubbie]]): Iterable[A]

  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AbstractInverseSlot[A]

Inherited from AnyRef

Inherited from Any

Ungrouped