object Optimize
Optimize object contains transformations in same schema
- Alphabetic
- By Inheritance
- Optimize
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def knownCoproductTypes[T](implicit arg0: Basis[MuF, T]): (T) => T
- def knownCoproductTypesTrans[T](implicit B: Basis[MuF, T]): Trans[MuF, MuF, T]
micro-optimization to convert known coproducts to named types such as Option or Either.
micro-optimization to convert known coproducts to named types such as Option or Either.
Without this optimization, printing a product containing fields whose type is a coproduct would end up with something like:
case class Product(field1: Cop[Int :: String :: TNil], field2: Cop[Int :: Null :: TNil])
With it, we rename the known coproducts to the correspondent named types:
case class Product(field1: Either[Int, String], field2: Option[Int])
- def namedTypes[T](implicit arg0: Basis[MuF, T]): (T) => T
- def namedTypesTrans[T]: Trans[MuF, MuF, T]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nestedNamedTypes[T](implicit arg0: Basis[MuF, T]): (T) => T
- def nestedNamedTypesTrans[T](implicit T: Basis[MuF, T]): Trans[MuF, MuF, T]
micro-optimization to convert types from fields in a product to NamedTypes.
micro-optimization to convert types from fields in a product to NamedTypes.
Without this optimization, printing a product containing fields of other products would end up with something like:
case class bbProduct(field1: String, field2: case class OtherField())
With it, we cut recursion in messages, to leave only type names:
case class Product(field1: String, field2: OtherField)
- def nestedOptionInCoproduct[T](implicit arg0: Basis[MuF, T]): (T) => T
- def nestedOptionInCoproductsTrans[T](implicit T: Basis[MuF, T]): Trans[MuF, MuF, T]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toRequiredTypes[T](implicit arg0: Basis[MuF, T]): (T) => T
- def toRequiredTypesTrans[T]: Trans[MuF, MuF, T]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated