fr.splayce.rel.util.TrackString

Interval

case class Interval (start: Int, end: Int) extends Product with Serializable

Interval: left-inclusive, right-exclusive (priority). Implements Allen's interval algebra. Natural integers only, since it corresponds to indices in Strings.

start

Beginning of the interval, inclusive.

end

End of the interval, exclusive (has priority, i.e. [0, 0) is considered empty).

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Interval
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Interval (start: Int, end: Int)

    start

    Beginning of the interval, inclusive.

    end

    End of the interval, exclusive (has priority, i.e. [0, 0) is considered empty).

Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def < (that: Interval): Boolean

  5. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  7. def > (that: Interval): Boolean

  8. def >> (shift: Int): Interval

  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def before (that: Interval): Boolean

  11. def canEqual (arg0: Any): Boolean

    Definition Classes
    Interval → Equals
  12. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def contains (that: Interval): Boolean

  14. def during (that: Interval): Boolean

  15. val end : Int

    End of the interval, exclusive (has priority, i.

    End of the interval, exclusive (has priority, i.e. [0, 0) is considered empty).

  16. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  17. def equals (arg0: Any): Boolean

    Definition Classes
    Interval → Equals → AnyRef → Any
  18. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def finishes (that: Interval): Boolean

  20. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  21. def hashCode (): Int

    Definition Classes
    Interval → AnyRef → Any
  22. val isEmpty : Boolean

  23. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  24. def meets (that: Interval): Boolean

  25. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def overlaps (that: Interval): Boolean

  29. def productArity : Int

    Definition Classes
    Interval → Product
  30. def productElement (arg0: Int): Any

    Definition Classes
    Interval → Product
  31. def productIterator : Iterator[Any]

    Definition Classes
    Product
  32. def productPrefix : String

    Definition Classes
    Interval → Product
  33. val start : Int

    Beginning of the interval, inclusive.

  34. def starts (that: Interval): Boolean

  35. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  36. lazy val toString : String

    Definition Classes
    Interval → AnyRef → Any
  37. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any