trait Types extends AnyRef

Basic functionality to be able to read and write objects. Kept as a trait so other internal files can use it, while also mixing it into the upickle package to form the public API1

Self Type
Types
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Types
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class CaseR[V] extends SimpleReader[V]
  2. trait CaseW[V] extends Writer[V]
  3. trait ReadWriter[T] extends Reader[T] with Writer[T]

    A combined Reader and Writer, along with some utility methods.

  4. trait Reader[T] extends Visitor[Any, T]

    Represents the ability to read a value of type T.

    Represents the ability to read a value of type T.

    A thin wrapper around Visitor, but needs to be it's own class in order to make type inference automatically pick up it's implicit values.

  5. trait SimpleReader[T] extends Reader[T] with SimpleVisitor[Any, T]

    A Reader that throws an error for all the visit methods which it does not define, letting you only define the handlers you care about.

  6. class SingletonR[T] extends CaseR[T]
  7. class SingletonW[T] extends CaseW[T]
  8. trait TaggedReadWriter[T] extends ReadWriter[T] with TaggedReader[T] with TaggedWriter[T] with SimpleReader[T]
  9. trait TaggedReader[T] extends SimpleReader[T]
  10. trait TaggedWriter[T] extends Writer[T]
  11. class TupleNReader[V] extends SimpleReader[V]
  12. class TupleNWriter[V] extends Writer[V]
  13. trait Writer[T] extends AnyRef

    Represents the ability to write a value of type T.

    Represents the ability to write a value of type T.

    Generally nothing more than a way of applying the T to a Visitor, along with some utility methods

Abstract Value Members

  1. abstract def taggedExpectedMsg: String
  2. abstract def taggedWrite[T, R](w: CaseW[T], tag: String, out: Visitor[_, R], v: T): R

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  15. def taggedArrayContext[T](taggedReader: TaggedReader[T], index: Int): ArrVisitor[Any, T]
  16. def taggedObjectContext[T](taggedReader: TaggedReader[T], index: Int): ObjVisitor[Any, T]
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. object ReadWriter
  22. object Reader
  23. object TaggedReadWriter
  24. object TaggedReader
  25. object TaggedWriter
  26. object Writer

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped