JoinableTInt

com.phasmidsoftware.tableparser.core.util.Joinable.JoinableTInt
trait JoinableTInt[T] extends Joinable[(T, Int)]

A trait extending the behavior of Joinable for a tuple of type (T, Int). It defines how to join two (T, Int) values, a zero value, and validity checks based on the underlying Joinable instance for T.

Type parameters

T

the type to be joined within the (T, Int) tuple.

Attributes

Graph
Supertypes
trait Joinable[(T, Int)]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def tj: Joinable[T]

Concrete methods

override def incomplete(t: (T, 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
def join(t1: (T, Int), t2: (T, Int)): (T, 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.

def valid(t: (T, 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.

Concrete fields

val zero: (T, Int)

The zero value for T.

The zero value for T.

Attributes