Package-level declarations

Types

Link copied to clipboard
data class BaseTimeline<V : IntervalLike<V>, TL : Timeline<V, TL>>(ctor: (Timeline<V, TL>) -> TL, collector: (CollectOptions) -> List<V>) : Timeline<V, TL>

The basic timeline container that all higher-level timeline collections ultimately delegate to.

Link copied to clipboard
fun interface BoundsTransformer

A functional interface for transforming bounds for operations that transform intervals.

Link copied to clipboard
data class CollectOptions @JvmOverloads constructor(val bounds: Interval, val truncateMarginal: Boolean = true)

Options for collecting a timeline.

Link copied to clipboard
data class Interval @JvmOverloads constructor(val start: Duration, val end: Duration, val startInclusivity: Interval.Inclusivity = Inclusivity.Inclusive, val endInclusivity: Interval.Inclusivity = startInclusivity) : IntervalLike<Interval>

An Interval on the timeline, represented by start and end points and start and end inclusivity.

Link copied to clipboard
fun interface NullBinaryOperation<in Left, in Right, out Out>

A generalized binary operation interface for maybe-null operands.

Link copied to clipboard
interface Timeline<V : IntervalLike<V>, THIS : Timeline<V, THIS>> : Iterable<V>

Interface of the raw timeline object.