Show1PlusRepeat

ostrat.Show1PlusRepeat
trait Show1PlusRepeat[A1, Ar, A] extends ShowNRepeat[Ar, A], Show1Plus[A1, A]

Show type class for 2 parameter case classes.

Attributes

Graph
Supertypes
trait Show1Plus[A1, A]
trait Persist1Plus[A1]
trait ShowNRepeat[Ar, A]
trait PersistNRepeat[Ar]
trait PersistN
trait ShowCompound[A]
trait Show[A]
trait Persist
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Show1Repeat[A1, Ar, A]
class Show1ArrayRepeat[A1, Ar, A]

Members list

Value members

Inherited methods

def fArg1: A => A1

Gets the 1st show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Gets the 1st show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Attributes

Inherited from:
Show1Plus

Attributes

Inherited from:
ShowNRepeat
def name1: String

1st parameter name.

1st parameter name.

Attributes

Inherited from:
Persist1Plus

Number of parameter constituents of this class.

Number of parameter constituents of this class.

Attributes

Inherited from:
PersistNRepeat
def opt1: Option[A1]

The optional default value for parameter 1.

The optional default value for parameter 1.

Attributes

Inherited from:
Persist1Plus

Sequence of the names of parameter constituents of this class.

Sequence of the names of parameter constituents of this class.

Attributes

Inherited from:
PersistNRepeat
override def paramNames: StrArr

Sequence of the names of parameter constituents of this class.

Sequence of the names of parameter constituents of this class.

Attributes

Definition Classes
Inherited from:
PersistNRepeat

Name of the repeated parameters.

Name of the repeated parameters.

Attributes

Inherited from:
PersistNRepeat
override def show(obj: A, style: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Attributes

Definition Classes
Inherited from:
ShowNRepeat
def show1(obj: A, way: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Shows parameter 1 of the object.

Shows parameter 1 of the object.

Attributes

Inherited from:
Show1Plus
def showForeach(obj: A, f: Ar => Unit): Unit

Foreach's all the elements of the sequence like object that is being shown.

Foreach's all the elements of the sequence like object that is being shown.

Attributes

Inherited from:
ShowNRepeat
final def showMap(obj: A)(f: Ar => String): StrArr

Maps over all the elements of the sequence like object that is being shown.

Maps over all the elements of the sequence like object that is being shown.

Attributes

Inherited from:
ShowNRepeat
def showR(obj: A, way: ShowStyle, maxPlaces: Int, minPlaces: Int): StrArr

Shows parameter 2 of the object.

Shows parameter 2 of the object.

Attributes

Inherited from:
ShowNRepeat
override def strT(obj: A): String

Provides the standard string representation for the object. Its called ShowT to indicate this is a type class method that acts upon an object rather than a method on the object being shown.

Provides the standard string representation for the object. Its called ShowT to indicate this is a type class method that acts upon an object rather than a method on the object being shown.

Attributes

Definition Classes
Inherited from:
ShowCompound
def strs(obj: A, way: ShowStyle, maxPlaces: Int, minPlaces: Int): StrArr

Produces the Strings to represent the values of the components of this N component Show.

Produces the Strings to represent the values of the components of this N component Show.

Attributes

Inherited from:
ShowNRepeat
def syntaxDepth(obj: A): Int

Simple values such as Int, String, Double have a syntax depth of one. A Tuple3[String, Int, Double] has a depth of 2. Not clear whether this should always be determined at compile time or if sometimes it should be determined at runtime.

Simple values such as Int, String, Double have a syntax depth of one. A Tuple3[String, Int, Double] has a depth of 2. Not clear whether this should always be determined at compile time or if sometimes it should be determined at runtime.

Attributes

Inherited from:
Show
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Show -> Any
Inherited from:
Show

The type of the object to be persisted.

The type of the object to be persisted.

Attributes

Inherited from:
Persist

This property determines if the type can be used with Multiple syntax.

This property determines if the type can be used with Multiple syntax.

MyObj * 7

. for describing sequences succinctly. This is not desirable for some types such as numerical and mathematical vector types as this could be confusing 3 * 4 should resolve to an Int of value 12, not a Multiple(3, 4).

Attributes

Inherited from:
Persist

Implicits

Inherited implicits

implicit def show1Ev: Show[A1]

Show type class instance for the 1st Show field.

Show type class instance for the 1st Show field.

Attributes

Inherited from:
Show1Plus
implicit def showEvR: Show[Ar]

Show type class instance for the 2nd Show field.

Show type class instance for the 2nd Show field.

Attributes

Inherited from:
ShowNRepeat