cc.factorie.util.Cubbie

IntSlot

case class IntSlot(name: String) extends PrimitiveSlot[Int] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, PrimitiveSlot[Int], Slot[Int], AbstractSlot[Int], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IntSlot
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PrimitiveSlot
  7. Slot
  8. AbstractSlot
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntSlot(name: String)

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. def :=(value: Int): Unit

    Set the value for this slot.

    Set the value for this slot.

    value

    value to set.

    Definition Classes
    PrimitiveSlotSlot
  5. def :=(opt: Option[Int]): Unit

    Set the value of this slot using an option.

    Set the value of this slot using an option. If parameter is Some(value) the value is set, if None nothing is changed.

    opt

    the option to use.

    Definition Classes
    Slot
  6. def :=!(value: Int)(implicit preHook: (AbstractSlot[Any], Any) ⇒ Unit): Unit

    Set a value for this slot but inform the provided hook before this happens.

    Set a value for this slot but inform the provided hook before this happens.

    value

    the value to set.

    preHook

    the hook to call before setting the value.

    Definition Classes
    Slot
  7. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  9. def apply(value: Int): Cubbie.this.type

    Set the value and return the containing Cubbie.

    Set the value and return the containing Cubbie.

    value

    the value to set.

    returns

    the cubbie this slot belongs to.

    Definition Classes
    Slot
  10. def apply(): Int

    Convenience method for more concise access to slot value.

    Convenience method for more concise access to slot value.

    returns

    value of the slot.

    Definition Classes
    AbstractSlot
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

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

    The cubbie this slot is contained in.

    The cubbie this slot is contained in.

    returns

    this cubbie.

    Definition Classes
    AbstractSlot
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  17. def isDefined: Boolean

    Does the cubbie have this slot.

    Does the cubbie have this slot.

    returns

    true iff the underyling map has this slot.

    Definition Classes
    Slot
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. val name: String

    The name of this slot.

    The name of this slot. This corresponds to the map field the slot is using to store its value.

    returns

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

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

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

    Definition Classes
    AnyRef
  23. def opt: Option[Int]

    Returns Some(value) if the cubbie has the given slot, or None otherwise.

    Returns Some(value) if the cubbie has the given slot, or None otherwise.

    returns

    Some(value) if the cubbie has the given slot, or None otherwise.

    Definition Classes
    SlotAbstractSlot
  24. def rawPut(value: Any): Unit

    Set a raw value into the underlying map.

    Set a raw value into the underlying map. Should generally only be used in other library code.

    value

    the value to be set.

    Definition Classes
    Slot
  25. def set(opt: Option[Int]): Cubbie.this.type

    Set the value of this slot using an option.

    Set the value of this slot using an option. If parameter is Some(value) the value is set, if None nothing is changed. Returns this cubbie.

    opt

    the option to use.

    returns

    the encompassing cubbie.

    Definition Classes
    Slot
  26. def set(value: Int): Cubbie.this.type

    Set value of slot and return this Cubbie.

    Set value of slot and return this Cubbie.

    value

    value to set.

    returns

    this cubbie.

    Definition Classes
    Slot
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    Slot → AnyRef → Any
  29. def value: Int

    The current value of the slot.

    The current value of the slot.

    returns

    the value of slot. May throw an exception if the underlying map has no field corresponding to this slot.

    Definition Classes
    IntSlotPrimitiveSlotSlotAbstractSlot
  30. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. 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 PrimitiveSlot[Int]

Inherited from Slot[Int]

Inherited from AbstractSlot[Int]

Inherited from AnyRef

Inherited from Any

Ungrouped