UnshowSeq

ostrat.UnshowSeq
See theUnshowSeq companion object
class UnshowSeq[A, R](val unshowAeEv: Unshow[A], val build: BuilderCollMap[A, R]) extends UnshowSeqLike[A, R]

Unshow type class instances for sequences, both Sequ and standard library classes such as List and Array. Uses the typeStr "Seq". As all these different types are persisted as logical sequences. Their in memory storage structure is irrelevant. They can all be reconstructed / unshown from an RSON Seq.

Attributes

Companion
object
Graph
Supertypes
trait UnshowSeqLike[A, R]
trait Unshow[R]
trait Persist
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

The type of the object to be persisted.

The type of the object to be persisted.

Attributes

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 methods

def concat[TT >: R](operand: Unshow[TT], newTypeStr: String): Unshow[TT]

Attributes

Inherited from:
Unshow
def findUniqueTFromStatements[ArrT <: Arr[R]](sts: RArr[Statement])(implicit arrBuild: BuilderArrMap[R, ArrT]): EMon[R]

Finds value of this UnShow type, returns error if more than one match.

Finds value of this UnShow type, returns error if more than one match.

Attributes

Inherited from:
Unshow
def fromAnySettingOrExpr(expr: Expr): EMon[R]

Attributes

Inherited from:
Unshow
override def fromExpr(expr: Expr): EMon[R]

Tries to return a value of the type from an RSON expression Expr that has been parsed from a String or text file. This method must be implemented by all instances.

Tries to return a value of the type from an RSON expression Expr that has been parsed from a String or text file. This method must be implemented by all instances.

Attributes

Definition Classes
Inherited from:
UnshowSeqLike
def fromSettingOrExpr(SettingStr: String, expr: Expr): EMon[R]

Attributes

Inherited from:
Unshow
final def fromStatement(st: Statement): EMon[R]

Trys to build an object of type T from the statement.

Trys to build an object of type T from the statement.

Attributes

Inherited from:
Unshow
def keySettingFromStatement[KT](settingCode: KT, st: Statement)(implicit evST: Unshow[KT]): EMon[R]

Finds a setting with a key / code of type KT and a value of the type of this UnShow instance from a [Statement].

Finds a setting with a key / code of type KT and a value of the type of this UnShow instance from a [Statement].

Attributes

Inherited from:
Unshow
def keySettingFromStatements[KT](sts: RArr[Statement], settingCode: KT)(implicit evST: Unshow[KT]): EMon[R]

Finds a key setting with Key type KT of the type of this UnShow instance from an Arr[Statement].

Finds a key setting with Key type KT of the type of this UnShow instance from an Arr[Statement].

Attributes

Inherited from:
Unshow
def settingFromStatements(sts: RArr[Statement], settingStr: String): EMon[R]

Finds an identifier setting with a value type of this UnShow instance from an Arr[Statement].

Finds an identifier setting with a value type of this UnShow instance from an Arr[Statement].

Attributes

Inherited from:
Unshow
def settingTFromStatement(settingStr: String, st: Statement): EMon[R]

Finds an identifier setting with a value of the type of this UnShow instance from a [Statement].

Finds an identifier setting with a value of the type of this UnShow instance from a [Statement].

Attributes

Inherited from:
Unshow
def valuesFromStatements[ArrT <: Arr[R]](sts: RArr[Statement])(implicit arrBuild: BuilderArrMap[R, ArrT]): ArrT

Produces an ArrImut of the UnShow type from Statements (Refs[Statement].

Produces an ArrImut of the UnShow type from Statements (Refs[Statement].

Attributes

Inherited from:
Unshow

Concrete fields

val build: BuilderCollMap[A, R]
val unshowAeEv: Unshow[A]

Unshow type class instance for the elements of the seqLike.

Unshow type class instance for the elements of the seqLike.

Attributes