trait ListInput extends SequentialInput
Represents an abstract source of sequence of values that can be deserialized.
ListInput instance is stateful and MUST be read strictly sequentially. This means, you MUST fully exhaust
an Input
instance returned by nextElement()
before calling nextElement()
again. For this reason,
ListInput is not an Iterator
despite having similar interface
(Iterator
would easily allow e.g. conversion to List[Input]
which would be illegal).
ListInput MUST always be fully exhausted. In order to ignore any remaining elements, skipRemaining() may be used.
- Self Type
- ListInput
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ListInput
- SequentialInput
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
equals(arg0: Any): Boolean
- Definition Classes
- Any
-
def
hashCode(): Int
- Definition Classes
- Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator[A](readFun: (Input) ⇒ A): Iterator[A]
-
def
skipRemaining(): Unit
- Definition Classes
- ListInput → SequentialInput
-
def
toString(): String
- Definition Classes
- Any