Class/Object

org.clulab.wm.eidos.attachments

CountAttachment

Related Docs: object CountAttachment | package attachments

Permalink

class CountAttachment extends ContextAttachment

Linear Supertypes
ContextAttachment, EidosAttachment, QuicklyEqualable, Serializable, Serializable, Attachment, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CountAttachment
  2. ContextAttachment
  3. EidosAttachment
  4. QuicklyEqualable
  5. Serializable
  6. Serializable
  7. Attachment
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CountAttachment(text: String, migrationGroupCount: MigrationGroupCount, startOffset: Int, endOffset: Int)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val argumentSize: Int

    Permalink
    Definition Classes
    EidosAttachment
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def biEquals(other: Any): Boolean

    Permalink

    This is what subclasses should implement.

    This is what subclasses should implement. They should normally check with the superclass first, so super.biEquals(other). The top class should not consult this one, however, at least not expecting true out of it. false is here so that the result is only true if triEquals has decided in equals below. In the end one gets this.eq(other) by default.

    Note that biEquals should be called by equals after triEquals. triEquals will have already checked with canEqual that other has the same class as this. In biEquals it is therefore possible to blindly cast to the class of this, which should be faster than matching. Even though that's not the Scala way, for the sake of efficiency of QuicklyEqualable, that's how it's just now implemented.

    For example,

    override def biEquals(other: Any): Boolean = { val that = other.asInstanceOf[ContextAttachmentSpec]

    this.text == that.text }

    is being favored over

    override def biEquals(other: Any): Boolean = other match { case that: ContextAttachmentSpec => this.text == that.text }

    Definition Classes
    CountAttachmentContextAttachmentQuicklyEqualable
  7. lazy val cachedHashCode: Int

    Permalink
    Attributes
    protected
    Definition Classes
    QuicklyEqualable
  8. def calculateHashCode: Int

    Permalink
    Attributes
    protected
    Definition Classes
    CountAttachmentContextAttachmentQuicklyEqualable
  9. def canEqual(other: AnyRef): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    QuicklyEqualable
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val endOffset: Int

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. implicit def formats: DefaultFormats.type

    Permalink
    Definition Classes
    EidosAttachment
  16. def getArgumentSize(): Int

    Permalink
    Definition Classes
    EidosAttachment
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def groundAdjective(adjectiveGrounder: AdjectiveGrounder): Unit

    Permalink
    Definition Classes
    EidosAttachment
  19. def hashCode(): Int

    Permalink
    Definition Classes
    QuicklyEqualable → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val migrationGroupCount: MigrationGroupCount

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def newJLDAttachment(serializer: JLDSerializer): JLDAttachment

    Permalink
    Definition Classes
    CountAttachmentEidosAttachment
  24. def newJLDContextAttachment(serializer: JLDSerializer, kind: String): JLDContextAttachment

    Permalink
    Definition Classes
    ContextAttachment
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. val startOffset: Int

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

    Permalink
    Definition Classes
    AnyRef
  29. val text: String

    Permalink
    Definition Classes
    ContextAttachment
  30. def toJson: JValue

    Permalink
    Definition Classes
    CountAttachmentEidosAttachment
  31. def toJson(label: String): JValue

    Permalink
    Definition Classes
    ContextAttachment
  32. def toString(): String

    Permalink
    Definition Classes
    CountAttachmentContextAttachment → AnyRef → Any
  33. def triEquals(other: Any): Option[Boolean]

    Permalink
    Attributes
    protected
    Definition Classes
    QuicklyEqualable
  34. val value: CountAttachment

    Permalink
    Definition Classes
    CountAttachmentContextAttachment
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ContextAttachment

Inherited from EidosAttachment

Inherited from QuicklyEqualable

Inherited from Serializable

Inherited from Serializable

Inherited from Attachment

Inherited from AnyRef

Inherited from Any

Ungrouped