Content

com.phasmidsoftware.tableparser.core.table.Content
See theContent companion class
object Content

The Content object provides a factory method for creating instances of the Content class. This utility is designed to facilitate the creation of Content objects from standard iterable collections by converting them into parallel collections for potential parallel processing.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Content.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[T](xs: Iterable[T]): Content[T]

Creates an instance of the Content class by converting the given iterable collection into a parallel collection.

Creates an instance of the Content class by converting the given iterable collection into a parallel collection.

Value parameters

xs

the iterable collection to be converted into a parallel collection

Attributes

Returns

an instance of Content containing the parallelized collection

def apply[T](xs: ParIterable[T]): Content[T]

Method to create a Content from a parallel collection (its elements are kept in their order).

Method to create a Content from a parallel collection (its elements are kept in their order).

Type parameters

T

the underlying type.

Value parameters

xs

a ParIterable[T].

Attributes

Returns

a Content[T].

def apply[T](xs: Iterator[T]): Content[T]

Creates an instance of the Content class by converting the provided iterator into a sequence and then processing it using the factory method for iterable collections.

Creates an instance of the Content class by converting the provided iterator into a sequence and then processing it using the factory method for iterable collections.

Value parameters

xs

the iterator to be converted into a sequence and processed

Attributes

Returns

an instance of Content containing the processed collection