Class/Object

org.clulab.wm.eidos.attachments

EidosAttachment

Related Docs: object EidosAttachment | package attachments

Permalink

abstract class EidosAttachment extends Attachment with Serializable with QuicklyEqualable

Annotations
@SerialVersionUID()
Linear Supertypes
QuicklyEqualable, Serializable, Serializable, Attachment, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EidosAttachment
  2. QuicklyEqualable
  3. Serializable
  4. Serializable
  5. Attachment
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EidosAttachment()

    Permalink

Abstract Value Members

  1. abstract def newJLDAttachment(serializer: JLDSerializer): JLDAttachment

    Permalink
  2. abstract def toJson: JValue

    Permalink

Concrete 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
  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 }

    Attributes
    protected
    Definition Classes
    QuicklyEqualable
  7. lazy val cachedHashCode: Int

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

    Permalink
    Attributes
    protected
    Definition Classes
    QuicklyEqualable
  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. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
  15. def getArgumentSize(): Int

    Permalink
  16. final def getClass(): Class[_]

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

    Permalink
  18. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

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

    Permalink
    Attributes
    protected
    Definition Classes
    QuicklyEqualable
  26. final def wait(): Unit

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

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

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

Inherited from QuicklyEqualable

Inherited from Serializable

Inherited from Serializable

Inherited from Attachment

Inherited from AnyRef

Inherited from Any

Ungrouped