de.sciss.lucre.bitemp.Span

All

object All extends FromOrAll with UntilOrAll with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, UntilOrAll, FromOrAll, Open, NonVoid, SpanLike, Writable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. All
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. UntilOrAll
  7. FromOrAll
  8. Open
  9. NonVoid
  10. SpanLike
  11. Writable
  12. AnyRef
  13. Any
Visibility
  1. Public
  2. All

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 canEqual(arg0: Any): Boolean

    Definition Classes
    All → Equals
  8. def clip(pos: Long): Long

    Clips a position to this span's boundary.

    Clips a position to this span's boundary. Note that the span's stop position is included. Thus the result is greater than or equal the start, and less than or equal (!) the stop.

    For the special cases of Span.All and Span.Void, this method returns the argument unchanged.

    pos

    the point to clip

    returns

    the clipped point

    Definition Classes
    AllSpanLike
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def compareStart(pos: Long): Int

    Compares the span's start to a given position

    Compares the span's start to a given position

    returns

    -1, if the span start lies before the query position, 1, if it lies after that position, or 0, if both are the same

    Definition Classes
    AllSpanLike
  11. def compareStop(pos: Long): Int

    Compares the span's stop to a given position

    Compares the span's stop to a given position

    returns

    -1, if the span stop lies before the query position, 1, if it lies after that position, or 0, if both are the same

    Definition Classes
    AllSpanLike
  12. def contains(that: SpanLike): Boolean

    Checks if another span lies within the span.

    Checks if another span lies within the span. The result is false if either of the two spans is void.

    that

    second span

    returns

    true, if that.start >= this.span && that.stop <= this.stop

    Definition Classes
    AllSpanLike
  13. def contains(pos: Long): Boolean

    Checks if a position lies within the span.

    Checks if a position lies within the span. Note that this returns false if this.stop == pos.

    returns

    true, if start <= pos < stop

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

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

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

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

    Definition Classes
    All → AnyRef → Any
  19. def intersect(that: SpanLike): SpanLike

    Construct the intersection between this and another span.

    Construct the intersection between this and another span. If the two spans are disjoint, the result will be empty. An empty result may be a Span if the two spans touched each other, or Span.Void if they did not touch each other. If either span is Span.All, the other span is returned. If either span is void, Span.Void will be returned.

    This method is commutative (a intersect b == b intersect a).

    that

    the span to form the intersection with

    returns

    the intersection span (possibly empty)

    Definition Classes
    AllSpanLike
  20. def invert: de.sciss.lucre.bitemp.Span.Void.type

    Definition Classes
    AllOpen
  21. final def isEmpty: Boolean

    Checks if the span is empty.

    Checks if the span is empty. A span is empty if it is a Span with start == stop or if it is void.

    returns

    true, if start == stop

    Definition Classes
    OpenSpanLike
  22. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  24. final def nonEmpty: Boolean

    Checks if the span is non empty.

    Checks if the span is non empty. This is exactly the opposite value of isEmpty.

    Definition Classes
    OpenSpanLike
  25. def nonEmptyOption: Option[de.sciss.lucre.bitemp.Span.All.type]

    Definition Classes
    AllUntilOrAllFromOrAllSpanLike
  26. final def notify(): Unit

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

    Definition Classes
    AnyRef
  28. def overlaps(that: SpanLike): Boolean

    Checks if a two spans overlap each other.

    Checks if a two spans overlap each other. Two spans overlap if the overlapping area is greater than or equal to 1. This implies that if either span is empty, the result will be false.

    This method is commutative (a overlaps b == b overlaps a).

    that

    second span

    returns

    true, if the spans overlap each other

    Definition Classes
    AllSpanLike
  29. def productArity: Int

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

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

    Definition Classes
    Product
  32. def productPrefix: String

    Definition Classes
    All → Product
  33. def readResolve(): AnyRef

    Attributes
    protected
  34. def shift(delta: Long): de.sciss.lucre.bitemp.Span.All.type

    Shifts the span, that is applies an offset to its start and stop.

    Shifts the span, that is applies an offset to its start and stop. For single sided open spans (Span.From and Span.Until) this alters the only bounded value. For Span.All and Span.Void this returns the object unchanged.

    delta

    the shift amount (the amount to be added to the span's positions)

    returns

    the shifted span

    Definition Classes
    AllOpenSpanLike
  35. def subtract(that: SpanLike): IndexedSeq[SpanLike]

    Subtracts a given span from this span.

    Subtracts a given span from this span. Note that an empty span argument "cuts" this span, e.g. Span.all subtract Span(30,30) == Seq(Span.until(30),Span.from(30))

    that

    the span to subtract

    returns

    a collection of spans after the argument was subtracted. Unlike intersect, this method filters out empty spans, thus a span subtracted from itself produces an empty collection. if that is a Span, the result might be two disjoint spans.

    Definition Classes
    AllSpanLike
  36. def subtract(that: Open): SpanLike

    Substracts a given open span from this span.

    Substracts a given open span from this span.

    that

    the span to subtract

    returns

    the reduced span, possibly empty or void

    Definition Classes
    AllSpanLike
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. final def toString(): String

    Definition Classes
    All → AnyRef → Any
  39. def touches(that: SpanLike): Boolean

    Checks if a two spans overlap or touch each other.

    Checks if a two spans overlap or touch each other. Two spans touch each other if they either overlap or they share a common point with each other (this span's start or stop is that span's start or stop).

    This method is commutative (a touches b == b touches a).

    that

    second span

    returns

    true, if the spans touch each other

    Definition Classes
    AllSpanLike
  40. def union(that: SpanLike): de.sciss.lucre.bitemp.Span.All.type

    Constructs a single span which contains both this and that span.

    Constructs a single span which contains both this and that span. If the two spans are disjoint, the result will be a span with start = min(this.start, that.start) and stop = max(this.stop, that.stop). If either span is void, the other span is returned. If either span is Span.All, Span.All will be returned.

    This method is commutative (a union b == b union a).

    that

    the span to form the union with

    returns

    the encompassing span

    Definition Classes
    AllOpenSpanLike
  41. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  44. def write(out: DataOutput): Unit

    Definition Classes
    All → Writable

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from UntilOrAll

Inherited from FromOrAll

Inherited from Open

Inherited from NonVoid

Inherited from SpanLike

Inherited from Writable

Inherited from AnyRef

Inherited from Any