trait CodecLaws[E, D, F, T] extends DecoderLaws[E, D, F, T] with EncoderLaws[E, D, T]
- Source
- CodecLaws.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CodecLaws
- EncoderLaws
- DecoderLaws
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def decoder: Decoder[E, D, F, T]
- Definition Classes
- DecoderLaws
- abstract def encoder: Encoder[E, D, T]
- Definition Classes
- EncoderLaws
Concrete 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()
- implicit lazy val codec: Codec[E, D, F, T]
- def contramapComposition[A, B](b: B, f: (A) => D, g: (B) => A): Boolean
- Definition Classes
- EncoderLaws
- def contramapEncodedComposition[A, B](b: B, f: (A) => E, g: (B) => A): Boolean
- Definition Classes
- DecoderLaws
- def contramapEncodedIdentity(v: CodecValue[E, D, T]): Boolean
- Definition Classes
- DecoderLaws
- def contramapIdentity(d: D): Boolean
- Definition Classes
- EncoderLaws
- def decode(v: CodecValue[E, D, T]): Boolean
- Definition Classes
- DecoderLaws
- def decodeFailure(v: IllegalValue[E, D, T]): Boolean
- Definition Classes
- DecoderLaws
- def emapComposition[A, B](v: CodecValue[E, D, T], f: (D) => Either[F, A], g: (A) => Either[F, B]): Boolean
- Definition Classes
- DecoderLaws
- def emapIdentity(v: CodecValue[E, D, T]): Boolean
- Definition Classes
- DecoderLaws
- def encode(v: LegalValue[E, D, T]): Boolean
- Definition Classes
- EncoderLaws
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def imapCompositionDecoding[A, B](v: CodecValue[E, D, T], f1: (D) => A, f2: (A) => D, g1: (A) => B, g2: (B) => A): Boolean
- def imapCompositionEncoding[A, B](b: B, f1: (D) => A, f2: (A) => D, g1: (A) => B, g2: (B) => A): Boolean
- def imapEncodedCompositionDecoding[A, B](b: B, f1: (E) => A, f2: (A) => E, g1: (A) => B, g2: (B) => A): Boolean
- def imapEncodedCompositionEncoding[A, B](d: D, f1: (E) => A, f2: (A) => E, g1: (A) => B, g2: (B) => A): Boolean
- def imapEncodedIdentityDecoding(v: CodecValue[E, D, T]): Boolean
- def imapEncodedIdentityEncoding(d: D): Boolean
- def imapIdentityDecoding(d: D): Boolean
- def imapIdentityEncoding(v: CodecValue[E, D, T]): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def leftMapComposition[A, B](v: CodecValue[E, D, T], f: (F) => A, g: (A) => B): Boolean
- Definition Classes
- DecoderLaws
- def leftMapCompositionEncoding[A, B](d: D, f: (F) => A, g: (A) => B): Boolean
- def leftMapIdentity[A](v: CodecValue[E, D, T]): Boolean
- Definition Classes
- DecoderLaws
- def leftMapIdentityEncoding[A](d: D): Boolean
- def mapComposition[A, B](v: CodecValue[E, D, T], f: (D) => A, g: (A) => B): Boolean
- Definition Classes
- DecoderLaws
- def mapEncodedComposition[A, B](d: D, f: (E) => A, g: (A) => B): Boolean
- Definition Classes
- EncoderLaws
- def mapEncodedIdentity(d: D): Boolean
- Definition Classes
- EncoderLaws
- def mapIdentity(v: CodecValue[E, D, T]): Boolean
- Definition Classes
- DecoderLaws
- 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()
- def roundTripDecoding(v: LegalValue[E, D, T]): Boolean
- def roundTripEncoding(d: D): Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()