Packages

trait BiGroup[T <: Txn[T], A] extends Obj[T] with Publisher[T, Update[T, A, BiGroup[T, A]]]

Linear Supertypes
Obj[T], Mutable[T], Identified[T], Elem[T], Publisher[T, Update[T, A, BiGroup[T, A]]], Disposable[T], Writable, Form[T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BiGroup
  2. Obj
  3. Mutable
  4. Identified
  5. Elem
  6. Publisher
  7. Disposable
  8. Writable
  9. Form
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def changed: EventLike[T, Update[T, A, BiGroup[T, A]]]
    Definition Classes
    Publisher
  2. abstract def debugList(implicit tx: T): List[(SpanLike, A)]
  3. abstract def debugPrint(implicit tx: T): String
  4. abstract def dispose()(implicit tx: T): Unit
    Definition Classes
    Disposable
  5. abstract def eventAfter(time: Long)(implicit tx: T): Option[Long]

    Queries the closest event (an element's span starting or stopping) later than the given time

    Queries the closest event (an element's span starting or stopping) later than the given time

    time

    the query time

    returns

    a time, greater than the query time, at which the next event occurs, or None if there are no events after the query time

  6. abstract def eventBefore(time: Long)(implicit tx: T): Option[Long]

    Queries the closest event (an element's span starting or stopping) earlier than the given time

    Queries the closest event (an element's span starting or stopping) earlier than the given time

    time

    the query time

    returns

    a time, smaller than the query time, at which the previous event occurs, or None if there are no events before the query time

  7. abstract def eventsAt(time: Long)(implicit tx: T): (Iterator[Leaf[T, A]], Iterator[Leaf[T, A]])

    Queries all elements which produce an event (starting or stopping) at a given time.

    Queries all elements which produce an event (starting or stopping) at a given time.

    time

    the time instant for which to gather the events

    returns

    a tuple of two iterators. the first iterator (_1) contains the events which start at the query time, the second iterator (_2) contains the event which stop at the query time

  8. abstract def firstEvent(implicit tx: T): Option[Long]

    Finds the first occurring event, if there is any.

    Finds the first occurring event, if there is any. Ignores objects with Span.All.

  9. abstract def get(span: SpanLike)(implicit tx: T): IndexedSeq[Entry[T, A]]

    Finds the leaf for a given span value (if it exists).

  10. abstract def id: Ident[T]
    Definition Classes
    Identified
  11. abstract def intersect(span: SpanLike)(implicit tx: T): Iterator[Leaf[T, A]]

    Queries all elements intersecting a given time span.

    Queries all elements intersecting a given time span. That is, returns an iterator of all elements whose span contains or partly overlaps the query span. (span start < query.stop && span.stop > query.start)

    This methods makes no guarantees about the ordering of the returned iterator.

    span

    the the span to search within (this may be a half-bounded interval or even Span.All)

    returns

    a (possibly empty) iterator of the intersecting elements

  12. abstract def intersect(time: Long)(implicit tx: T): Iterator[Leaf[T, A]]

    Queries all elements intersecting a given point in time.

    Queries all elements intersecting a given point in time. That is, returns an iterator of all elements whose span contains the time point (span start <= time && span.stop > time)

    This methods makes no guarantees about the ordering of the returned iterator.

    time

    the point in time to search at

    returns

    a (possibly empty) iterator of the intersecting elements

  13. abstract def isEmpty(implicit tx: T): Boolean

    Returns true if not a single element is contained in the collection.

  14. abstract def iterator(implicit tx: T): Iterator[Leaf[T, A]]
  15. abstract def lastEvent(implicit tx: T): Option[Long]

    Finds the last occurring event, if there is any.

    Finds the last occurring event, if there is any. Ignores objects with Span.All.

  16. abstract def modifiableOption: Option[Modifiable[T, A]]
  17. abstract def nonEmpty(implicit tx: T): Boolean

    Returns true if at least one element is contained in the collection.

  18. abstract def rangeSearch(start: SpanLike, stop: SpanLike)(implicit tx: T): Iterator[Leaf[T, A]]

    Performs a range query according to separate intervals for the allowed start and stop positions of the element spans.

    Performs a range query according to separate intervals for the allowed start and stop positions of the element spans. That is, returns an iterator of all elements whose span satisfies the constraints given for start and stop positions (start.contains( elem.span.start ) && stop.contains( elem.span.stop ))

    Both for the start and stop constraint, half-bounded or unbounded (Span.All) intervals can be used. Examples

    - to find all elements which start between 10 (inclusive) and 20 (exclusive), use start = Span( 10, 20 ), stop = Span.All. - to find all elements which start before (<) 10 and stop from (>=) 20, use start = Span.until( 10 ), stop = Span.from( 20 ).

    This methods makes no guarantees about the ordering of the returned iterator.

    start

    the constraint for the start position of the spans of the elements filtered.

    stop

    the constraint for the stop position of the spans of the elements filtered.

    returns

    a (possibly empty) iterator of the intersecting elements

  19. abstract def recoverSpan(span: SpanLike, elem: A)(implicit tx: T): Option[SpanLikeObj[T]]

    Tries to recover the actual object of an element's position, given only an evaluated span.

    Tries to recover the actual object of an element's position, given only an evaluated span. The result may for example be used in a subsequent removal of the element.

  20. abstract def tpe: Type
    Definition Classes
    ObjElem
  21. abstract def write(out: DataOutput): Unit
    Definition Classes
    Writable

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def attr(implicit tx: T): AttrMap[T]
    Definition Classes
    Obj
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(that: Any): Boolean
    Definition Classes
    Identified → AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    Identified → AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    Obj → AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Obj[T]

Inherited from Mutable[T]

Inherited from Identified[T]

Inherited from Elem[T]

Inherited from Publisher[T, Update[T, A, BiGroup[T, A]]]

Inherited from Disposable[T]

Inherited from Writable

Inherited from Form[T]

Inherited from AnyRef

Inherited from Any

Ungrouped