trait ObjectInput extends SequentialInput
Represents an abstract source of key-value mappings that can be deserialized.
ObjectInput instance is stateful and MUST be read strictly sequentially. This means, you MUST fully exhaust
any Input instance returned by nextField() before calling nextField() again. For this reason,
ObjectInput is not an Iterator despite having similar interface
(Iterator would easily allow e.g. conversion to List[(String, Input)] which would be illegal).
ObjectInput MUST always be fully exhausted. In order to ignore any remaining key-value mappings,
skipRemaining() may be used.
NOTE: The order of keys returned by subsequent invocations of nextField() may be arbitrary and in particular
may not match the order in which keys were written to corresponding ObjectOutput.
- Self Type
- ObjectInput
- Alphabetic
- By Inheritance
- ObjectInput
- SequentialInput
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
hasNext: Boolean
- Definition Classes
- SequentialInput
- abstract def nextField(): FieldInput
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator[A](readFun: (Input) ⇒ A): Iterator[(String, A)]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
skipRemaining(): Unit
- Definition Classes
- ObjectInput → SequentialInput
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )