final class Meta[A] extends AnyRef
Convenience for introducing a symmetric Get
/Put
pair into implicit scope, and for deriving
new symmetric pairs. It's important to understand that Meta
should never be demanded by user
methods; instead demand both Get
and Put
. The reason for this is that while Meta
implies
Get
and Put
, the presence of both Get
and Put
does *not* imply Meta
.
- Source
- meta.scala
- Alphabetic
- By Inheritance
- Meta
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val get: Get[A]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def imap[B](f: (A) => B)(g: (B) => A): Meta[B]
Meta is an invariant functor.
Meta is an invariant functor. Prefer
timap
as it provides for better diagnostics. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val put: Put[A]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timap[B](f: (A) => B)(g: (B) => A)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[B]): Meta[B]
Variant of
imap
that takes a type tag, to aid in diagnostics. - def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()