Timeline

interface Timeline<V : IntervalLike<V>, THIS : Timeline<V, THIS>> : Iterable<V>

Interface of the raw timeline object.

Should be implemented by composing a raw timeline in your container and delegating to it with the by keyword. See any timeline for examples.

Inheritors

Functions

Link copied to clipboard
open fun cache(): THIS

(DOC) Caches the timeline for all available time.

abstract fun cache(opts: CollectOptions): THIS

Caches the result of collecting this timeline, to be reused for future collect requests if possible.

open fun cache(bounds: Interval): THIS

(DOC) A simplified version of cache.

Link copied to clipboard
open fun collect(): List<V>

(DOC) Collects the timeline for all available time.

abstract fun collect(opts: CollectOptions): List<V>

(DOC) Evaluates the stack of operations and produces a list of timeline payload objects.

open fun collect(bounds: Interval): List<V>

(DOC) A simplified version of collect.

Link copied to clipboard
open fun forEach(p0: Consumer<in V>)
Link copied to clipboard
abstract operator fun iterator(): Iterator<V>
Link copied to clipboard
Link copied to clipboard
abstract fun <RESULT : Timeline<V, RESULT>> unsafeCast(ctor: (Timeline<V, RESULT>) -> RESULT): RESULT

(DOC) UNSAFE! Casts this timeline type to another type without changing its contents.