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.
- Alphabetic
- By Inheritance
- RefMapOut
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
-    new RefMapOut(out0: DataOutput)- out0
- the binary output to write to 
 
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()
 
-    def isDefaultPackage(pck: String): Boolean- Attributes
- protected
 
-   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() @HotSpotIntrinsicCandidate()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-  final def out: DataOutput
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    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])
 
-  final def writeBoolean(b: Boolean): Unit
-    def writeCustomElem(e: Any): Any- Attributes
- protected
 
-  final def writeDouble(d: Double): Unit
-  def writeElem(e: Any): Unit
-  final def writeFloat(f: Float): Unit
-    def writeIdentifiedProduct(p: Product): Unit- Attributes
- protected
 
-  final def writeInt(i: Int): Unit
-  final def writeLong(n: Long): Unit
-  final def writeMap[K, V](m: Map[K, V], key: (K) => Unit, value: (V) => Unit): Unit
-  final def writeOption[A](x: Option[A], elem: (A) => Unit): Unit
-  def writeProduct(p: Product): Unit
-  final def writeSet[A](t: Set[A], elem: (A) => Unit): Unit
-  final def writeString(s: String): Unit
-  final def writeVec[A](xs: Seq[A], elem: (A) => Unit): Unit
Deprecated Value Members
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated