InBoth

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

trait Serializable
trait Product
trait Equals
trait Chunk[T]
class Object
trait Matchable
class Any

Value members

Concrete methods

def elements: IndexedSeqView[T]

Source-agnostic access to the unchanged slice of data elements.

Source-agnostic access to the unchanged slice of data elements.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product