Packages

c

de.sciss.serial

RefMapOut

class RefMapOut extends AnyRef

Building block for serializing Product based type hierarchies.

By default, the following type tags are supported:

- 'B' Boolean - 'D' Double - 'F' Float - 'I' Int - 'L' Long - 'M' Map[_, _] - 'O' Option[_] - 'P' Product - 'S' String - 'T' Set[_] - 'X' Seq[_] - 'U' Unit () - '<' reference to previous object (as written by RefMapOut) - '\u0000' null

Sub-classes may want to patch into writeCustomElem and writeElem or writeProduct to handle specific new types. They may want to override isDefaultPackage to allow storing product prefixes instead of full class-names when unique identification is possible.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RefMapOut
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RefMapOut(out0: DataOutput)

    out0

    the binary output to write to

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def isDefaultPackage(pck: String): Boolean
    Attributes
    protected
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def out: DataOutput
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def writeBoolean(b: Boolean): Unit
  22. def writeCustomElem(e: Any): Any
    Attributes
    protected
  23. final def writeDouble(d: Double): Unit
  24. def writeElem(e: Any): Unit
  25. final def writeFloat(f: Float): Unit
  26. def writeIdentifiedProduct(p: Product): Unit
    Attributes
    protected
  27. final def writeInt(i: Int): Unit
  28. final def writeLong(n: Long): Unit
  29. final def writeMap[K, V](m: Map[K, V], key: (K) => Unit, value: (V) => Unit): Unit
  30. final def writeOption[A](x: Option[A], elem: (A) => Unit): Unit
  31. def writeProduct(p: Product): Unit
  32. final def writeSet[A](t: Set[A], elem: (A) => Unit): Unit
  33. final def writeString(s: String): Unit
  34. final def writeVec[A](xs: Seq[A], elem: (A) => Unit): Unit

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped