abstract class RefMapIn[Repr] extends AnyRef
Building block for deserializing Product
based type hierarchies.
By default, the following type tags are supported:
- 'B' Boolean
- 'C' Const (freely definable type -- must implement readIdentifiedConst
)
- 'D' Double
- 'F' Float
- 'I' Int
- 'L' Long
- 'M' Map[_, _]
- 'O' Option[_]
- 'P' Product (through registered ProductReader
instances)
- 'S' String
- 'T' Set[_]
- 'X' Vec[_] (IndexedSeq)
- 'U' Unit ()
- 'R' (freely definable type -- must implement readIdentifiedR
)
- 'Y' (freely definable type -- must implement readIdentifiedY
)
- 'u' (freely definable type -- must implement readIdentifiedU
)
- 'E' (freely definable type -- must implement readIdentifiedE
)
- '<' reference to previous object (as written by RefMapOut
)
- '\u0000' null
Sub-classes may want to patch into readCustomElem
and readCustomProduct
to handle specific new types.
- Self Type
- RefMapIn[Repr] with Repr
- Alphabetic
- By Inheritance
- RefMapIn
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Abstract Value Members
- abstract def readProductWithKey(key: String, arity: Int): Product
- Attributes
- protected
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() @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()
- final def in: DataInput
- 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 readBoolean(): Boolean
- def readCustomElem(cookie: Char): Any
- Attributes
- protected
- def readCustomProduct(cookie: Char): Product
- Attributes
- protected
- final def readDouble(): Double
- final def readDoubleVec(): IndexedSeq[Double]
- def readElem(): Any
- def readElemWithCookie(cookie: Char): Any
- Attributes
- protected
- final def readFloat(): Float
- final def readFloatVec(): IndexedSeq[Float]
- def readIdentifiedConst(): (RefMapIn.this)#Const
- Attributes
- protected
- def readIdentifiedE(): (RefMapIn.this)#E
- Attributes
- protected
- def readIdentifiedR(): (RefMapIn.this)#R
- Attributes
- protected
- def readIdentifiedU(): (RefMapIn.this)#U
- Attributes
- protected
- def readIdentifiedY(): (RefMapIn.this)#Y
- Attributes
- protected
- final def readInt(): Int
- final def readIntVec(): IndexedSeq[Int]
- final def readLong(): Long
- final def readMap[K, V](key: => K, value: => V): Map[K, V]
- final def readOption[A](elem: => A): Option[A]
- def readProduct(): Product
- final def readProductT[A <: Product](): A
Like
readProduct
but casts the result (unsafe) - def readProductWithCookie(cookie: Char): Product
- Attributes
- protected
- final def readSet[A](elem: => A): Set[A]
- final def readString(): String
- final def readStringOption(): Option[String]
- final def readVec[A](elem: => A): IndexedSeq[A]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def unexpectedCookie(cookie: Char, expected: Char): Nothing
- Attributes
- protected
- final def unexpectedCookie(cookie: Char): Nothing
- Attributes
- protected
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated