JoinableTInt

com.phasmidsoftware.tableparser.core.parse.IndexedInputToRowsTransformer.JoinableTInt
object JoinableTInt extends JoinableTInt[Input]

Implicit object representing a JoinableTInt instance for the type Input.

This implicit ensures that the JoinableTInt operations (such as join, zero, and valid) are defined for (Input, Int) based on the behavior of an implicitly available Joinable[Input] instance.

Definitions:

  • Joinable: A type class that defines how to join elements of a type, provide a zero value, and validate elements.
  • JoinableTInt: A specialized Joinable for tuples of type (T, Int), where the joining logic relies on the Joinable[T] instance for the first element of the tuple.

Usage:

  • This implicit object provides JoinableTInt behavior for (Input, Int) automatically, provided there is an implicit Joinable[Input] in scope.

Details:

  • The tj member refers to the Joinable[Input] instance, obtained implicitly.

Attributes

Graph
Supertypes
trait Joinable[(IndexedInputToRowsTransformer.this.Input, Int)]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Inherited methods

override def incomplete(t: (IndexedInputToRowsTransformer.this.Input, Int)): Boolean

Method to determine if t is an incomplete record, which must be joined to what follows it before it can be parsed: for example, a line of CSV which ends inside a quoted field (whose value contains a line break, as RFC 4180 allows). By default, nothing is incomplete.

Method to determine if t is an incomplete record, which must be joined to what follows it before it can be parsed: for example, a line of CSV which ends inside a quoted field (whose value contains a line break, as RFC 4180 allows). By default, nothing is incomplete.

Value parameters

t

a T value.

Attributes

Returns

true if t must be joined to the T that follows it.

Definition Classes
Inherited from:
JoinableTInt
def join(t1: (IndexedInputToRowsTransformer.this.Input, Int), t2: (IndexedInputToRowsTransformer.this.Input, Int)): (IndexedInputToRowsTransformer.this.Input, Int)

Method to join t1 to t2.

Method to join t1 to t2.

Value parameters

t1

the first T value.

t2

the second T value.

Attributes

Returns

the joined T value.

Inherited from:
JoinableTInt
def valid(t: (IndexedInputToRowsTransformer.this.Input, Int)): Boolean

Method to determine if t is valid.

Method to determine if t is valid.

Value parameters

t

a T value.

Attributes

Returns

true if t is valid.

Inherited from:
JoinableTInt

Inherited fields

val zero: (IndexedInputToRowsTransformer.this.Input, Int)

The zero value for T.

The zero value for T.

Attributes

Inherited from:
JoinableTInt