ShowSeq

ostrat.ShowSeq
trait ShowSeq[A, SA] extends ShowSeqLike[A, SA], PersistSeq[A, SA]

All logical sequence classes are shown as "Seq"s. There encoding in memory and the immutability are irrelevant for their persistence.

Attributes

Graph
Supertypes
trait PersistSeq[A, SA]
trait ShowSeqLike[A, SA]
trait ShowCompound[SA]
trait Show[SA]
trait Persist
class Object
trait Matchable
class Any
Show all
Known subtypes
trait ShowIterable[A, SA]
class ShowIterableClass[A, R]
trait ShowSequ[A, SA]

Members list

Value members

Concrete methods

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
ShowSeqLike -> Show -> Any

Inherited methods

final override def show(obj: SA, way: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Attributes

Definition Classes
Inherited from:
ShowSeqLike
def showAeEv: Show[A]

Attributes

Inherited from:
ShowSeqLike
def showForeach(obj: SA, f: A => 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:
ShowSeqLike
final def showMap(obj: SA)(f: A => 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:
ShowSeqLike
override def strT(obj: SA): 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
override def syntaxDepth(obj: SA): 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

Definition Classes
Inherited from:
ShowSeqLike
override def typeStr: String

All Sequences are persisted with the "Seq" type.

All Sequences are persisted with the "Seq" type.

Attributes

Definition Classes
Inherited from:
PersistSeq
override def useMultiple: Boolean

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

Definition Classes
Inherited from:
PersistSeq