Data

intervalidus.mutable.Data
See theData companion class

Constructs data in multidimensional intervals.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Data.type

Members list

Type members

Types

type In1D[V, R1] = Data[V, In1D[R1]]
type In2D[V, R1, R2] = Data[V, In2D[R1, R2]]
type In3D[V, R1, R2, R3] = Data[V, In3D[R1, R2, R3]]
type In4D[V, R1, R2, R3, R4] = Data[V, In4D[R1, R2, R3, R4]]

Value members

Concrete methods

override def apply[V, D <: NonEmptyTuple : DomainLike](initialData: Iterable[ValidData[V, D]])(implicit evidence$1: DomainLike[D], Experimental): Data[V, D]

Constructor for multiple (or no) initial values that are valid in the various intervals.

Constructor for multiple (or no) initial values that are valid in the various intervals.

Type parameters

D

the domain type -- DomainLike non-empty tuples.

V

the type of the value managed as data.

Value parameters

initialData

a collection of values valid within intervals -- intervals must be disjoint.

Attributes

Returns

DimensionalBase structure with zero or more valid values.

Definition Classes
override def newBuilder[V, D <: NonEmptyTuple : DomainLike](implicit evidence$1: DomainLike[D], Experimental): Builder[ValidData[V, D], Data[V, D]]

Get a Builder based on an intermediate buffer of valid data.

Get a Builder based on an intermediate buffer of valid data.

Type parameters

D

the domain type -- DomainLike non-empty tuples.

V

the type of the value managed as data.

Attributes

Definition Classes
override def of[V, D <: NonEmptyTuple : DomainLike](data: ValidData[V, D])(implicit evidence$1: DomainLike[D], Experimental): Data[V, D]

Shorthand constructor for a single initial value that is valid in a particular interval.

Shorthand constructor for a single initial value that is valid in a particular interval.

Type parameters

D

the domain type -- DomainLike non-empty tuples.

V

the type of the value managed as data.

Value parameters

data

value valid within an interval.

Attributes

Returns

DimensionalBase structure with a single valid value.

Definition Classes
override def of[V, D <: NonEmptyTuple : DomainLike](value: V)(implicit evidence$1: DomainLike[D], Experimental): Data[V, D]

Shorthand constructor for a single initial value that is valid in the full interval domain.

Shorthand constructor for a single initial value that is valid in the full interval domain.

Type parameters

D

the domain type -- DomainLike non-empty tuples.

V

the type of the value managed as data.

Value parameters

value

value that is valid in the full domain (Interval.unbounded[D]).

Attributes

Returns

DimensionalBase structure with a single valid value.

Definition Classes

Inherited methods

protected def constructorParams[V, D <: NonEmptyTuple](initialData: Iterable[ValidData[V, D]])(using domainValue: DomainLike[D])(using Experimental): (TreeMap[D, ValidData[V, D]], MultiMapSorted[V, ValidData[V, D]], BoxTree[ValidData[V, D]])

Given a collection of valid data, returns data used to populate the dataByStartAsc, dataByValue, and dataInSearchTree internal data structures.

Given a collection of valid data, returns data used to populate the dataByStartAsc, dataByValue, and dataInSearchTree internal data structures.

Type parameters

D

the domain type -- DomainLike non-empty tuples.

V

the type of the value managed as data.

Value parameters

initialData

a collection of values valid within intervals -- intervals must be disjoint.

Attributes

Returns

tuple of TreeMap data, MultiMapSorted data, and BoxTree data used when constructing something that is a DimensionalBase and has overridden dataByStartAsc, dataByValue, and dataInSearchTree in the constructor.

Inherited from:
DimensionalBaseConstructorParams