Chunk

object Chunk
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case class Distinct[T](baseElements: Slice[T], targetElements: Slice[T]) extends Chunk[T]

A chunk, which combines two chunks that are unique to each sequence. The baseElements appear in the base sequence at the same relative position as the targetElements in the target sequence.

A chunk, which combines two chunks that are unique to each sequence. The baseElements appear in the base sequence at the same relative position as the targetElements in the target sequence.

Value Params
baseElements

the slice of the base sequence

targetElements

the slice of the target sequence

final case class InBase[T](elements: Slice[T]) extends Chunk[T]

A chunk, which only appears in the base sequence.

A chunk, which only appears in the base sequence.

Value Params
elements

the slice of the base sequence

final case class InBoth[T](baseElements: Slice[T], targetElements: Slice[T]) extends Chunk[T]

A chunk, which appears identically in both, the base and the target sequence. The baseElements and targetElements contain identical elements but may differ in their index ranges.

A chunk, which appears identically in both, the base and the target sequence. The baseElements and targetElements contain identical elements but may differ in their index ranges.

Value Params
baseElements

the slice of the base sequence

targetElements

the slice of the target sequence

final case class InTarget[T](elements: Slice[T]) extends Chunk[T]

A chunk, which only appears in the target sequence.

A chunk, which only appears in the target sequence.

Value Params
elements

the slice of the target sequence

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror