Show4

ostrat.Show4
trait Show4[A1, A2, A3, A4] extends ShowN with TypeStr4[A1, A2, A3, A4]

Trait for ShowDec for a product of 3 logical elements. This trait is implemented directly by the type in question, unlike the corresponding ShowEq3T trait which externally acts on an object of the specified type to create its String representations. For your own types it is better to inherit from Show3 and then use Show3ElemT or Persist3ElemT to create the type class instance for ShowT. The Show3ElemT or Persist3Elem class will delegate to Show3 for some of its methods. It is better to use Show3 to override toString method than delegating the toString override to a ShowEq3T instance.

Attributes

Graph
Supertypes
trait TypeStr4[A1, A2, A3, A4]
trait TypeStr4Plus[A1, A2, A3, A4]
trait TypeStr3Plus[A1, A2, A3]
trait TypeStr2Plus[A1, A2]
trait TypeStrN
trait ShowN
trait ShowDec
trait Show
trait TypeStr
class Any

Members list

Concise view

Value members

Abstract methods

def show1: A1

Element 1 of this 4 element Show product.

Element 1 of this 4 element Show product.

Attributes

def show2: A2

Element 2 of this 4 element Show product.

Element 2 of this 4 element Show product.

Attributes

def show3: A3

Element 3 of this 4 element Show product.

Element 3 of this 4 element Show product.

Attributes

def show4: A4

Element 4 of this 4 element Show product.

Element 4 of this 4 element Show product.

Attributes

def showT1: ShowT[A1]

The ShowT type class instance for the 1st element of this 4 element Show product.

The ShowT type class instance for the 1st element of this 4 element Show product.

Attributes

def showT2: ShowT[A2]

The ShowT type class instance for the 2nd element of this 4 element Show product.

The ShowT type class instance for the 2nd element of this 4 element Show product.

Attributes

def showT3: ShowT[A3]

The ShowT type class instance for the 3rd element of this 4 element Show product.

The ShowT type class instance for the 3rd element of this 4 element Show product.

Attributes

def showT4: ShowT[A4]

The ShowT type class instance for the 4th element of this 4 element Show product.

The ShowT type class instance for the 4th element of this 4 element Show product.

Attributes

Concrete methods

override def elemTypeNames: StringArr

A StringArr Arr of the element type names of this Show Product class.

A StringArr Arr of the element type names of this Show Product class.

Attributes

Definition Classes
override def opt1: Option[A1]

The optional default value for parameter 1.

The optional default value for parameter 1.

Attributes

Definition Classes
override def opt2: Option[A2]

The optional default value for parameter 2.

The optional default value for parameter 2.

Attributes

Definition Classes
override def opt3: Option[A3]

The optional default value for parameter 3.

The optional default value for parameter 3.

Attributes

Definition Classes
override def opt4: Option[A4]

The optional default value for parameter 4.

The optional default value for parameter 4.

Attributes

Definition Classes
override def paramNames: StringArr

Sequence of the names of parameter constituents of this class.

Sequence of the names of parameter constituents of this class.

Attributes

Definition Classes
override def showElemStrDecs(way: ShowStyle, decimalPlaces: Int): StringArr

A StringArr Arr collection of the show methods return values of the elements of this Show Product class.

A StringArr Arr collection of the show methods return values of the elements of this Show Product class.

Attributes

Definition Classes
override def showElemStrs(way: ShowStyle): StringArr

Attributes

Definition Classes

Inherited methods

1st parameter name.

1st parameter name.

Attributes

Inherited from:
TypeStr2Plus

2nd parameter name.

2nd parameter name.

Attributes

Inherited from:
TypeStr2Plus

3rd parameter name.

3rd parameter name.

Attributes

Inherited from:
TypeStr3Plus

4th parameter name.

4th parameter name.

Attributes

Inherited from:
TypeStr4Plus
override def numParams: Int

Number of parameter constituents of this class.

Number of parameter constituents of this class.

Attributes

Definition Classes
Inherited from:
TypeStr4
override def show(style: ShowStyle): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Attributes

Definition Classes
Inherited from:
ShowN
override def showDec(style: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Attributes

Definition Classes
Inherited from:
ShowN
def showDec(style: ShowStyle, maxPlaces: Int): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Attributes

Inherited from:
Show
def showSemisNameDecs(maxPlaces: Int, minPlaces: Int): String

Attributes

Inherited from:
ShowN

A StringArr Arr collection of the show methods return values of the elements of this Show Product class.

A StringArr Arr collection of the show methods return values of the elements of this Show Product class.

Attributes

Inherited from:
ShowN
override def str: String

The most basic Show method, paralleling the strT method on ShowT type class instances.

The most basic Show method, paralleling the strT method on ShowT type class instances.

Attributes

Definition Classes
Inherited from:
ShowN

Show with decimal precision of 0 places.

Show with decimal precision of 0 places.

Attributes

Inherited from:
ShowDec

Show with decimal precision of 1 place padding with a zero if necessary.

Show with decimal precision of 1 place padding with a zero if necessary.

Attributes

Inherited from:
ShowDec

Show with decimal precision of 2 places padding with zeros if necessary.

Show with decimal precision of 2 places padding with zeros if necessary.

Attributes

Inherited from:
ShowDec

Show with decimal precision of 3 places padding with zeros if necessary.

Show with decimal precision of 3 places padding with zeros if necessary.

Attributes

Inherited from:
ShowDec

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 RSON type of T. This the only data that a ShowT instance requires, that can't be implemented through delegation to an object of type Show.

The RSON type of T. This the only data that a ShowT instance requires, that can't be implemented through delegation to an object of type Show.

Attributes

Inherited from:
TypeStr